:root{
    --scarlee-green:#208847;
    --scarlee-green-dark:#176736;
    --scarlee-text:#122033;
    --scarlee-muted:#667085;
    --scarlee-bg:#eef2ef;
    --scarlee-border:#d9e1d9;
    --scarlee-card:#ffffff;
}

html, body{
    overflow-x:hidden;
}

body{
    background:var(--scarlee-bg);
    color:var(--scarlee-text);
}

.scarlee-header{
    background:rgba(255,255,255,.94);
    border-bottom:1px solid rgba(0,0,0,.06);
    box-shadow:0 10px 26px rgba(16,24,40,.04);
    backdrop-filter:saturate(160%) blur(8px);
}

.scarlee-navbar{
    min-height:116px;
}

.scarlee-brand img{
    height:104px;
    width:auto;
    display:block;
}

.scarlee-nav{
    gap:1.2rem;
}

.scarlee-nav .nav-link{
    color:#475467;
    font-weight:600;
    padding:.4rem 0;
}

.scarlee-nav .nav-link:hover{
    color:var(--scarlee-green);
}

.scarlee-nav-cta{
    margin-left:.35rem;
}

.scarlee-cta{
    border-radius:15px;
    padding:1rem 1.45rem;
    font-weight:800;
    min-width:196px;
}

.scarlee-toggler{
    border-radius:12px;
    padding:.65rem .85rem;
}

.hero-immersive{
    position:relative;
    min-height:clamp(600px, 70vh, 690px);
    display:flex;
    align-items:center;
    background-image:
        linear-gradient(90deg, rgba(7,19,34,.62) 0%, rgba(7,19,34,.38) 22%, rgba(7,19,34,.14) 48%, rgba(7,19,34,.04) 100%),
        linear-gradient(180deg, rgba(8,19,35,.08) 0%, rgba(8,19,35,.14) 100%),
        var(--hero-bg);
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    isolation:isolate;
}

.hero-immersive-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 16% 24%, rgba(32,136,71,.10), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%);
    z-index:-1;
}

.hero-immersive-container{
    position:relative;
    z-index:2;
    width:100%;
    padding-top:2.1rem;
    padding-bottom:2.1rem;
}

.hero-immersive-copy{
    width:100%;
    max-width:none;
    padding:1.55rem 1.7rem 1.65rem;
    border-radius:26px;
    background:linear-gradient(135deg, rgba(7,19,34,.52) 0%, rgba(7,19,34,.30) 100%);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    box-shadow:0 18px 48px rgba(0,0,0,.18);
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    background:rgba(32,136,71,.98);
    color:#fff;
    padding:.58rem .98rem;
    border-radius:999px;
    font-size:.92rem;
    font-weight:800;
    margin-bottom:1rem;
    width:max-content;
    box-shadow:0 10px 22px rgba(17,24,39,.15);
}

.hero-title{
    font-size:clamp(2.45rem, 3.25vw, 4.05rem);
    line-height:.95;
    letter-spacing:-0.05em;
    font-weight:900;
    color:#fff;
    margin:0 0 .9rem;
    max-width:13.5ch;
    text-wrap:balance;
    text-shadow:0 10px 28px rgba(0,0,0,.22);
}

.hero-lead{
    font-size:clamp(.98rem, .96vw, 1.08rem);
    line-height:1.68;
    max-width:760px;
    margin:0 0 1.15rem;
    color:rgba(255,255,255,.94);
    text-shadow:0 2px 18px rgba(0,0,0,.20);
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:.85rem;
    margin-bottom:1rem;
}

.hero-actions .btn{
    min-height:52px;
    border-radius:15px;
    padding:.86rem 1.3rem;
    font-weight:800;
    box-shadow:0 12px 28px rgba(0,0,0,.16);
}

.hero-btn-ghost{
    border-width:1.5px;
    color:#fff;
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.78);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}

.hero-btn-ghost:hover{
    color:#122033;
    background:#fff;
    border-color:#fff;
}

.hero-feature-strip{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:.75rem;
    width:100%;
    max-width:none;
}

.hero-feature-pill{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.14);
    border-radius:16px;
    padding:.82rem .85rem .88rem;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    box-shadow:0 14px 34px rgba(0,0,0,.10);
}

.hero-feature-pill strong{
    display:block;
    color:#fff;
    font-size:.95rem;
    line-height:1.28;
    margin-bottom:.2rem;
}

.hero-feature-pill span{
    display:block;
    color:rgba(255,255,255,.86);
    font-size:.88rem;
    line-height:1.42;
}

.home-metrics-section{
    padding:1.2rem 0 4rem;
    background:#f3f6f3;
}

.home-metrics-tight{
    margin-top:-24px;
    position:relative;
    z-index:3;
}

.metric-card{
    background:#fff;
    border:1px solid rgba(18,32,51,.08);
    border-radius:22px;
    padding:1.65rem 1.35rem;
    min-height:100%;
    box-shadow:0 14px 34px rgba(16,24,40,.06);
}

.metric-card h3{
    margin:0 0 .85rem;
    font-size:1.42rem;
    line-height:1.18;
    font-weight:900;
    color:#101828;
}

.metric-card p{
    margin:0;
    color:var(--scarlee-muted);
    line-height:1.7;
}

.scarlee-footer{
    background:#ffffff;
    border-top:1px solid rgba(0,0,0,.06);
    padding:2.75rem 0;
}

.scarlee-footer-logo{
    height:54px;
    width:auto;
    display:block;
    margin-bottom:1rem;
}

@media (max-width: 1199.98px){
    .hero-immersive{
        min-height:650px;
    }

    .hero-immersive-copy{
        width:100%;
        max-width:none;
    }

    .hero-title{
        max-width:12.5ch;
        font-size:clamp(2.35rem, 3.9vw, 3.75rem);
    }

    .hero-feature-strip{
        grid-template-columns:1fr;
        max-width:none;
    }
}

@media (max-width: 991.98px){
    .scarlee-navbar{
        min-height:104px;
    }

    .scarlee-brand img{
        height:80px;
    }

    .scarlee-nav{
        gap:.5rem;
        padding-top:1rem;
        padding-bottom:.25rem;
    }

    .scarlee-nav-cta{
        margin-left:0;
        margin-top:.45rem;
        width:100%;
    }

    .scarlee-nav-cta .btn{
        width:100%;
    }

    .hero-immersive{
        min-height:auto;
        background-image:
            linear-gradient(180deg, rgba(7,19,34,.74) 0%, rgba(7,19,34,.54) 45%, rgba(7,19,34,.60) 100%),
            var(--hero-bg);
        background-position:center center;
        background-repeat:no-repeat;
        background-size:cover;
    }

    .hero-immersive-container{
        padding-top:3.3rem;
        padding-bottom:3rem;
    }

    .hero-immersive-copy{
        max-width:100%;
        padding:1.35rem 1.15rem 1.45rem;
        border-radius:20px;
        background:rgba(7,19,34,.42);
    }

    .hero-title{
        max-width:11.2ch;
        font-size:clamp(2.35rem, 8vw, 3.35rem);
        line-height:1.02;
    }

    .hero-lead{
        font-size:1rem;
        line-height:1.72;
        max-width:none;
    }

    .hero-feature-strip{
        grid-template-columns:1fr;
        max-width:none;
    }

    .home-metrics-tight{
        margin-top:0;
    }
}

@media (max-width: 575.98px){
    .scarlee-navbar{
        min-height:96px;
    }

    .scarlee-brand img{
        height:72px;
    }

    .scarlee-cta{
        min-width:auto;
    }

    .hero-immersive{
        min-height:auto;
        background-position:62% center;
    }

    .hero-immersive-container{
        padding-top:2.7rem;
        padding-bottom:2.7rem;
    }

    .hero-badge{
        font-size:.82rem;
        padding:.5rem .82rem;
        margin-bottom:1rem;
    }

    .hero-title{
        font-size:clamp(2.15rem, 9vw, 2.8rem);
        max-width:10.5ch;
        margin-bottom:1rem;
    }

    .hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .hero-actions .btn{
        width:100%;
    }

    .hero-feature-pill{
        padding:.95rem .95rem 1rem;
    }

    .metric-card{
        border-radius:18px;
        padding:1.3rem 1.1rem;
    }
}
