/* =========================================================
   Mi ReVibe® — Public Landing
   /assets/css/revibe-public.css
   ========================================================= */

:root{
    --rv-ink:#10212a;
    --rv-ink-soft:#29464f;
    --rv-text:#5e737b;
    --rv-muted:#7f9197;
    --rv-teal:#137c75;
    --rv-teal-deep:#0e6963;
    --rv-teal-soft:#e9f5f3;
    --rv-line:#e2ebe9;
    --rv-bg:#f7faf9;
    --rv-white:#ffffff;
    --rv-warm:#f4efe6;
    --rv-shadow:0 22px 64px rgba(16,33,42,.07);
    --rv-shadow-soft:0 12px 36px rgba(16,33,42,.045);
    --rv-radius-lg:32px;
    --rv-radius-md:24px;
    --rv-shell:1180px;
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
    margin:0;
    min-height:100vh;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--rv-ink);
    background:
        radial-gradient(circle at 8% 14%, rgba(19,124,117,.055), transparent 25%),
        radial-gradient(circle at 91% 7%, rgba(214,188,142,.08), transparent 25%),
        var(--rv-bg);
    -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none;}
button{font:inherit;}
img{display:block;max-width:100%;}

.rv-public-shell{
    width:min(var(--rv-shell), calc(100% - 44px));
    margin:0 auto;
}

/* Header */

.rv-public-header{
    position:relative;
    z-index:20;
    background:rgba(255,255,255,.86);
    border-bottom:1px solid rgba(226,235,233,.84);
    backdrop-filter:blur(18px);
}

.rv-public-nav{
    min-height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.rv-public-brand{
    display:inline-flex;
    align-items:center;
    gap:12px;
}

.rv-public-brand img{
    width:38px;
    height:38px;
    object-fit:contain;
}

.rv-public-brand span{
    display:flex;
    flex-direction:column;
    line-height:1.05;
}

.rv-public-brand strong{
    font-size:20px;
    letter-spacing:-.025em;
    font-weight:720;
}

.rv-public-brand sup,
.rv-footer-brand sup{
    font-size:.5em;
    top:-.45em;
    position:relative;
}

.rv-public-brand small{
    margin-top:5px;
    color:var(--rv-muted);
    font-size:11px;
    font-weight:520;
}

.rv-public-actions{
    display:flex;
    align-items:center;
    gap:18px;
}

.rv-public-login{
    color:#52686f;
    font-size:14px;
    font-weight:650;
}

.rv-public-nav-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 20px;
    border-radius:999px;
    background:var(--rv-teal);
    color:white;
    font-size:14px;
    font-weight:720;
    box-shadow:0 9px 22px rgba(19,124,117,.16);
}

/* Hero */

.rv-hero{
    display:grid;
    grid-template-columns:minmax(0,.83fr) minmax(480px,1.17fr);
    gap:54px;
    align-items:center;
    padding-top:64px;
    padding-bottom:72px;
}

.rv-hero-copy{
    padding:14px 0 18px;
}

.rv-eyebrow{
    margin:0 0 18px;
    color:var(--rv-teal);
    font-size:11px;
    font-weight:780;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.rv-hero h1{
    max-width:620px;
    margin:0;
    color:var(--rv-ink);
    font-size:clamp(52px,6.1vw,84px);
    line-height:.96;
    letter-spacing:-.058em;
    font-weight:590;
}

.rv-hero-lead{
    max-width:610px;
    margin:26px 0 0;
    color:var(--rv-text);
    font-size:20px;
    line-height:1.62;
    font-weight:420;
}

.rv-hero-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:18px;
    margin-top:32px;
}

.rv-primary-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:0 26px;
    border-radius:999px;
    background:var(--rv-teal);
    color:#fff;
    font-size:15px;
    font-weight:730;
    box-shadow:0 12px 28px rgba(19,124,117,.18);
    transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.rv-primary-button:hover{
    transform:translateY(-1px);
    background:var(--rv-teal-deep);
    box-shadow:0 15px 34px rgba(19,124,117,.22);
}

.rv-text-link{
    color:#4e676e;
    font-size:14px;
    font-weight:650;
}

.rv-text-link:hover{color:var(--rv-teal);}

.rv-hero-note{
    margin:15px 0 0;
    color:#91a0a5;
    font-size:12px;
}

/* Dynamic visual */

.rv-hero-visual{
    position:relative;
    overflow:hidden;
    min-height:610px;
    border:1px solid rgba(20,70,72,.08);
    border-radius:36px;
    background:linear-gradient(135deg,#eaf3f2,#edf2f5 58%,#f4efe6);
    box-shadow:var(--rv-shadow);
    isolation:isolate;
}

.rv-route-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:1;
    transform:scale(1.015);
    transition:opacity .26s ease;
}

.rv-hero-visual.is-fading .rv-route-video{opacity:.12;}

.rv-video-wash{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        linear-gradient(180deg, rgba(248,251,250,.05) 0%, rgba(248,251,250,.02) 44%, rgba(14,35,42,.20) 100%),
        linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,0) 54%);
}

.rv-route-caption{
    position:absolute;
    z-index:3;
    left:28px;
    bottom:76px;
    width:min(360px, calc(100% - 56px));
    padding:19px 20px 18px;
    border:1px solid rgba(255,255,255,.58);
    border-radius:20px;
    background:rgba(255,255,255,.77);
    backdrop-filter:blur(14px);
    box-shadow:0 12px 34px rgba(16,33,42,.10);
}

.rv-route-caption-label{
    display:block;
    margin-bottom:4px;
    color:var(--rv-teal);
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.rv-route-caption strong{
    display:block;
    color:var(--rv-ink);
    font-size:27px;
    line-height:1.1;
    font-weight:620;
    letter-spacing:-.03em;
}

.rv-route-caption small{
    display:block;
    margin-top:7px;
    color:#597078;
    font-size:13px;
    line-height:1.45;
}

.rv-route-selector{
    position:absolute;
    z-index:4;
    left:22px;
    right:22px;
    bottom:20px;
    display:flex;
    gap:7px;
    overflow-x:auto;
    scrollbar-width:none;
}

.rv-route-selector::-webkit-scrollbar{display:none;}

.rv-route-selector button{
    flex:0 0 auto;
    border:1px solid rgba(255,255,255,.62);
    border-radius:999px;
    padding:7px 10px;
    background:rgba(255,255,255,.58);
    backdrop-filter:blur(9px);
    color:#49636a;
    font-size:10.5px;
    font-weight:690;
    cursor:pointer;
    transition:background .18s ease, color .18s ease, border-color .18s ease;
}

.rv-route-selector button.is-active{
    color:#fff;
    background:rgba(19,124,117,.90);
    border-color:rgba(19,124,117,.22);
}

/* Shared section typography */

.rv-section-intro{
    max-width:none;
    width:100%;
}

.rv-flow .rv-section-intro h2{
    white-space:nowrap;
}

.rv-section-intro h2,
.rv-routes-copy h2,
.rv-energy-copy h2{
    margin:0;
    color:var(--rv-ink);
    font-size:clamp(38px,4vw,58px);
    line-height:1.02;
    letter-spacing:-.045em;
    font-weight:570;
}

/* Flow */

.rv-flow{
    padding-top:78px;
    padding-bottom:86px;
    border-top:1px solid var(--rv-line);
}

.rv-flow-line{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:46px;
    border-top:1px solid var(--rv-line);
    border-bottom:1px solid var(--rv-line);
}

.rv-flow-line article{
    display:grid;
    grid-template-columns:42px 1fr;
    gap:16px;
    padding:28px 28px 30px 0;
}

.rv-flow-line article + article{
    padding-left:28px;
    border-left:1px solid var(--rv-line);
}

.rv-flow-line span{
    color:#9aabae;
    font-size:12px;
    font-weight:720;
}

.rv-flow-line h3{
    margin:0;
    color:var(--rv-ink);
    font-size:19px;
    line-height:1.25;
    font-weight:620;
    letter-spacing:-.018em;
}

.rv-flow-line p{
    margin:9px 0 0;
    color:var(--rv-text);
    font-size:14px;
    line-height:1.55;
}

/* Routes */

.rv-routes{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(400px,.95fr);
    gap:72px;
    align-items:center;
    padding-top:84px;
    padding-bottom:88px;
}

.rv-routes-copy > p:last-child{
    max-width:650px;
    margin:24px 0 0;
    color:var(--rv-text);
    font-size:17px;
    line-height:1.72;
}

.rv-route-list{
    border-top:1px solid var(--rv-line);
}

.rv-route-list div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    min-height:66px;
    border-bottom:1px solid var(--rv-line);
}

.rv-route-list strong{
    font-size:20px;
    font-weight:570;
    letter-spacing:-.02em;
}

.rv-route-list span{
    color:var(--rv-teal);
    font-size:11px;
    font-weight:760;
    letter-spacing:.12em;
    text-transform:uppercase;
}

/* Entry CTA */

.rv-entry{
    padding-bottom:82px;
}

.rv-entry-panel{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) auto;
    gap:48px;
    align-items:center;
    padding:50px 58px;
    border:1px solid #dfe9e7;
    border-radius:var(--rv-radius-lg);
    background:
        radial-gradient(circle at 88% 14%, rgba(19,124,117,.10), transparent 28%),
        linear-gradient(135deg,#f6fbfa 0%,#ffffff 54%,#f8f3eb 100%);
    box-shadow:var(--rv-shadow-soft);
}

.rv-entry-copy h2{
    margin:0;
    max-width:760px;
    color:var(--rv-ink);
    font-size:clamp(40px,4.6vw,62px);
    line-height:1.02;
    letter-spacing:-.045em;
    font-weight:570;
}

.rv-entry-copy > p:last-child{
    max-width:720px;
    margin:22px 0 0;
    color:var(--rv-text);
    font-size:16px;
    line-height:1.68;
}

.rv-entry-action{
    min-width:260px;
    text-align:center;
}

.rv-entry-action .rv-primary-button{
    width:100%;
}

.rv-entry-action small{
    display:block;
    max-width:260px;
    margin:12px auto 0;
    color:#89989c;
    font-size:10.5px;
    line-height:1.5;
}

@media (max-width:1000px){
    .rv-entry-panel{
        grid-template-columns:1fr;
        gap:28px;
    }

    .rv-entry-action{
        min-width:0;
        width:min(100%,320px);
        text-align:left;
    }

    .rv-entry-action small{
        margin-left:0;
        text-align:left;
    }
}

@media (max-width:760px){
    .rv-entry{
        padding-bottom:58px;
    }

    .rv-entry-panel{
        padding:36px 26px;
        border-radius:26px;
    }

    .rv-entry-action{
        width:100%;
    }

    .rv-entry-action small{
        max-width:none;
        text-align:center;
    }
}

/* Disclaimer + Footer */

.rv-disclaimer{
    padding:25px 0 32px;
    border-top:1px solid var(--rv-line);
}

.rv-disclaimer p{
    max-width:840px;
    margin:0 auto;
    text-align:center;
    color:#8a999d;
    font-size:12px;
    line-height:1.55;
}

.rv-public-footer{
    background:#fff;
    border-top:1px solid rgba(226,235,233,.9);
}

.rv-footer-inner{
    min-height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}

.rv-footer-brand{
    display:flex;
    align-items:center;
    gap:9px;
    color:#536970;
    font-size:13px;
    font-weight:650;
}

.rv-footer-brand img{
    width:26px;
    height:26px;
}

.rv-footer-links{
    display:flex;
    align-items:center;
    gap:18px;
    color:#809096;
    font-size:12px;
}

.rv-footer-links a:hover{color:var(--rv-teal);}

/* Responsive */

@media (max-width:1000px){
    .rv-hero{
        grid-template-columns:1fr;
        gap:38px;
        padding-top:46px;
    }

    .rv-hero-copy{
        max-width:760px;
    }

    .rv-hero-visual{
        min-height:590px;
    }

    .rv-routes{
        grid-template-columns:1fr;
        gap:42px;
    }

    .rv-energy-panel{
        grid-template-columns:1fr;
        gap:32px;
    }

    .rv-energy-action{
        padding:26px 0 0;
        border-left:0;
        border-top:1px solid var(--rv-line);
    }
}

@media (max-width:760px){
    .rv-public-shell{
        width:min(100%, calc(100% - 28px));
    }

    .rv-public-nav{
        min-height:74px;
    }

    .rv-public-brand small{display:none;}

    .rv-public-login{display:none;}

    .rv-hero{
        padding-top:38px;
        padding-bottom:54px;
    }

    .rv-hero h1{
        font-size:clamp(46px,14.5vw,68px);
    }

    .rv-hero-lead{
        font-size:17px;
    }

    .rv-primary-button{
        width:100%;
    }

    .rv-text-link{
        width:100%;
        text-align:center;
    }

    .rv-hero-note{text-align:center;}

    .rv-hero-visual{
        min-height:520px;
        border-radius:26px;
    }

    .rv-route-caption{
        left:16px;
        bottom:76px;
        width:calc(100% - 32px);
    }

    .rv-route-selector{
        left:14px;
        right:14px;
        bottom:16px;
    }

    .rv-flow{
        padding-top:58px;
        padding-bottom:62px;
    }

    .rv-flow-line{
        grid-template-columns:1fr;
        margin-top:34px;
    }

    .rv-flow-line article,
    .rv-flow-line article + article{
        padding:24px 0;
        border-left:0;
    }

    .rv-flow-line article + article{
        border-top:1px solid var(--rv-line);
    }

    .rv-routes{
        padding-top:58px;
        padding-bottom:64px;
    }

    .rv-energy{
        padding-bottom:58px;
    }

    .rv-energy-panel{
        padding:34px 26px;
        border-radius:26px;
    }

    .rv-energy-meta{
        flex-wrap:wrap;
    }

    .rv-footer-inner{
        padding:20px 0;
        flex-direction:column;
        justify-content:center;
    }
}

@media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}

    .rv-route-video,
    .rv-primary-button{
        transition:none;
    }
}

@media (max-width: 820px){
    .rv-flow .rv-section-intro h2{
        white-space:normal;
    }
}


/* Routes · visible sequential reveal v3 */
@media (prefers-reduced-motion: no-preference){
    html.rv-motion-ready .rv-routes.rv-sequence-pending .rv-routes-copy{
        opacity:.08;
        transform:translateY(24px);
    }

    html.rv-motion-ready .rv-routes.rv-sequence-pending .rv-route-list > div{
        opacity:.05;
        transform:translateX(38px);
    }

    html.rv-motion-ready .rv-routes .rv-routes-copy{
        transition:
            opacity .9s cubic-bezier(.22,1,.36,1),
            transform .9s cubic-bezier(.22,1,.36,1);
    }

    html.rv-motion-ready .rv-routes .rv-route-list > div{
        transition:
            opacity .82s cubic-bezier(.22,1,.36,1),
            transform .82s cubic-bezier(.22,1,.36,1),
            background-color .6s ease;
    }

    html.rv-motion-ready .rv-routes .rv-routes-copy.is-route-visible,
    html.rv-motion-ready .rv-routes .rv-route-list > div.is-route-visible{
        opacity:1;
        transform:none;
    }

    html.rv-motion-ready .rv-routes .rv-route-list > div.is-route-visible{
        background-color:rgba(255,255,255,.24);
    }
}

@media (prefers-reduced-motion: reduce){
    .rv-routes-copy,
    .rv-route-list > div{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
}
