/* HEDGINE v14 — visual polish only; existing structure and behaviour unchanged */
:root{--bg:#020c12;--panel:#071923;--border:#203945}
body{font-size:15px;-webkit-font-smoothing:antialiased;background:#020b10}
.container{width:min(1320px,calc(100% - 56px))}
.top{height:72px}.navlinks a{font-size:13px}.button{border-radius:7px;min-height:42px}
.hero{background:radial-gradient(ellipse at 77% 40%,#11252a 0,transparent 55%),#020b10;overflow:hidden}
.hero-inner{min-height:490px;grid-template-columns:49% 51%}
.hero-copy{padding:50px 0 40px}.hero h1{font-size:clamp(46px,4.55vw,67px);line-height:1.035;letter-spacing:-.055em;margin:18px 0 16px}
.hero-copy p{font-size:16px;line-height:1.55;max-width:520px}.hero-actions{margin-top:26px}.hero-actions .button{min-height:54px;padding:15px 23px;font-size:14px}
/* Image stays inside its own layer and does not bleed into benefits. */
.hero-art.hero-art-photo{position:relative!important;inset:auto!important;width:100%!important;height:470px!important;max-width:none!important;min-width:0!important;overflow:hidden!important;background-image:url('/static/hedgine-hero-clean.webp?v=14')!important;background-size:contain!important;background-position:center center!important;background-repeat:no-repeat!important;isolation:isolate}
.hero-art.hero-art-photo:after{content:"";position:absolute;z-index:1;pointer-events:none;inset:auto 0 0;height:14%;background:linear-gradient(0deg,#020b10 0%,transparent 100%)}
.benefits{position:relative;z-index:2;padding-top:20px;padding-bottom:24px;background:#020b10!important;gap:18px}.benefits p{font-size:13px;line-height:1.45}
.section{padding:52px 0}.section h2{font-size:clamp(27px,2.55vw,36px);letter-spacing:-.045em}.section-title p,.intro{font-size:15px;line-height:1.55}
.performance-grid{gap:32px}.chart-wrap{height:365px}.chart-legend{font-size:12px}.metric-row{min-height:71px;padding:13px 12px;border:1px solid #213946;background:linear-gradient(115deg,#0a1c26,#06141c);border-radius:8px}.metric-row b{font-size:15px}.metric-row .m-name{font-size:12px}.footnote{font-size:11px;line-height:1.6}
.amount-field{min-height:61px}.calculator-row{min-height:57px}.calculator-row strong{font-size:15px}
.strategy-grid{grid-template-columns:.92fr 1.08fr;gap:34px}.strategy-assets{gap:12px}.strategy-asset{min-height:162px!important;padding:19px 9px!important;gap:9px!important;border:1px solid #294652!important;border-radius:9px;background:linear-gradient(145deg,#0b202a,#06141c)!important;justify-content:center;transition:border-color .2s,transform .2s}.strategy-asset:hover{border-color:#08e7a0!important;transform:translateY(-2px)}.strategy-asset strong{font-size:24px!important;letter-spacing:-.04em;line-height:1.1}.strategy-asset>span:last-child{font-size:13px!important;color:#d4e0e5}.strategy-asset .asset-symbol{width:62px!important;height:62px!important}.strategy-asset .asset-symbol img{width:100%!important;height:100%!important;object-fit:contain}.strategy-assets>small{font-size:11px;line-height:1.5;padding-top:1px}
.social-proof .proof-card{min-height:96px;border-color:#1d3641;padding:18px}.social-proof .proof-content strong{font-size:clamp(23px,2.3vw,30px)}.social-proof .proof-content span{font-size:12px}.social-proof .proof-face{width:38px;height:38px;margin-left:-9px}.social-proof .proof-face.portrait svg{width:100%;height:100%}
.updates-grid{gap:30px}.allocation-panel{border:1px solid #1f3742;border-radius:9px}.faqs details{padding-top:15px;padding-bottom:15px}
@media(max-width:1100px){.hero-inner{grid-template-columns:51% 49%}.hero h1{font-size:clamp(40px,4.8vw,57px)}.hero-art.hero-art-photo{height:405px!important}.strategy-asset{min-height:145px!important}.strategy-asset strong{font-size:20px!important}}
@media(max-width:820px){.container{width:calc(100% - 36px)}.hero-inner{grid-template-columns:1fr;min-height:0}.hero-copy{padding:38px 0 12px}.hero-art.hero-art-photo{height:370px!important;width:100%!important;background-position:center!important}.benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.section{padding:40px 0}.strategy-grid{grid-template-columns:1fr}.strategy-assets{gap:10px}.strategy-asset{min-height:135px!important}.strategy-asset .asset-symbol{width:52px!important;height:52px!important}}
@media(max-width:520px){.container{width:calc(100% - 30px)}.hero h1{font-size:clamp(36px,9.4vw,46px)}.hero-copy p{font-size:14px}.hero-art.hero-art-photo{height:255px!important;background-size:contain!important}.hero-actions{gap:9px;flex-wrap:wrap}.hero-actions .button{padding:12px 14px;font-size:12px;min-height:46px}.benefits{gap:12px;padding-top:15px}.benefits p{font-size:11px}.section{padding:36px 0}.section h2{font-size:27px}.chart-wrap{height:290px}.strategy-assets{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.strategy-asset{min-height:142px!important}.strategy-asset strong{font-size:22px!important}.strategy-asset .asset-symbol{width:56px!important;height:56px!important}.strategy-assets>small{font-size:10px}.social-proof .proof-card{min-height:80px}}

/* ===== HEDGINE HERO V15 ===== */

.hero-art.hero-art-photo {
    background-image: url('/static/hedgine-hero-v15.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    background-color: transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-art.hero-art-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 78%,
        rgba(2, 11, 16, 0.55) 92%,
        #020b10 100%
    );
}

@media (max-width: 820px) {
    .hero-art.hero-art-photo {
        background-position: center center !important;
        background-size: contain !important;
    }
}


/* ===== HERO V15 — LARGER CINEMATIC IMAGE ===== */

@media (min-width: 821px) {
    .hero-art.hero-art-photo {
        background-size: auto 125% !important;
        background-position: center center !important;
        overflow: hidden !important;
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 12%,
            #000 96%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 12%,
            #000 96%,
            transparent 100%
        );
    }

    .hero-art.hero-art-photo::after {
        background: linear-gradient(
            to bottom,
            #020b10 0%,
            transparent 13%,
            transparent 77%,
            #020b10 100%
        ) !important;
    }
}


/* ===== HERO V17 — WIDE CINEMATIC COMPOSITION ===== */

@media (min-width: 821px) {
    .hero-inner {
        position: relative !important;
        isolation: isolate;
    }

    .hero-copy {
        position: relative !important;
        z-index: 3 !important;
    }

    .hero-art.hero-art-photo {
        position: absolute !important;
        inset: 0 -2% 0 39% !important;
        width: auto !important;
        height: 100% !important;

        background-image: url('/static/hedgine-hero-v15.png') !important;
        background-size: contain !important;
        background-position: center right !important;
        background-repeat: no-repeat !important;

        mask-image: none !important;
        -webkit-mask-image: none !important;
        overflow: hidden !important;
    }

    .hero-art.hero-art-photo::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background:
            linear-gradient(
                90deg,
                #020b10 0%,
                rgba(2,11,16,.75) 9%,
                transparent 28%
            ),
            linear-gradient(
                0deg,
                #020b10 0%,
                transparent 18%,
                transparent 88%,
                #020b10 100%
            ) !important;
        pointer-events: none !important;
    }
}


/* ===== HERO V18 — MORE SPACE BETWEEN TEXT AND IMAGE ===== */

@media (min-width: 821px) {
    .hero-art.hero-art-photo {
        inset: 0 -7% 0 44% !important;
    }
}


/* ===== HERO V19 — CONTAINED IMAGE ===== */

@media (min-width: 821px) {
    .hero-inner {
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-art.hero-art-photo {
        inset: 0 0 0 43% !important;
        width: 57% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center center !important;
    }
}


/* HERO V20 — remove unwanted overlay */
.hero-art.hero-art-photo::after {
    display: none !important;
}

