*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    overflow-x:hidden;
}

body{
    font-family:Arial, sans-serif;
    background:#0f2f1d;
    color:white;
    overflow-x:hidden;
}

section{
    padding:60px 20px;
}

/* ===== HERO ===== */

.hero{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:40px;
    min-height:100vh;
}

.hero-content{
    width:100%;
    max-width:680px;
}

.hero-heading{
    display:flex;
    align-items:center;
    gap:28px;
}

.logo{
    flex:0 0 auto;
}

.logo img{
    width:105px;
    height:105px;
    display:block;
    border-radius:24px;
}

h1{
    flex:1;
    min-width:0;
    font-size:53px;
    line-height:1.08;
}

h1 span{
    color:#9eea4d;
}

.subtitle{
    margin-top:30px;
    font-size:32px;
    line-height:1.25;
    color:#eef7eb;
}

.buttons{
    margin-top:35px;
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.download-choice--qr{
    display:none;
    color:#eef7eb;
    text-decoration:none;
    flex-direction:column;
    align-items:center;
    gap:10px;
    font-size:16px;
    line-height:1.2;
}

.qr-code{
    width:178px;
    height:178px;
    display:block;
    border-radius:16px;
    background:white;
}

.platform-ios .download-choice--android,
.platform-ios .download-choice--qr,
.platform-android .download-choice--ios,
.platform-android .download-choice--qr,
.platform-desktop .download-choice--ios,
.platform-desktop .download-choice--android{
    display:none;
}

.platform-desktop .download-choice--qr{
    display:flex;
}

.platform-ios .download-options,
.platform-android .download-options,
.platform-desktop .download-options{
    justify-content:center;
}

.btn{
    background:#9eea4d;
    color:#000;
    text-decoration:none;
    padding:16px 20px;
    border-radius:12px;
    font-weight:bold;
    min-width:120px;
    text-align:center;
    white-space:nowrap;
}

.hero-image{
    width:320px;
    max-width:100%;
}

.hero-image img{
    width:100%;
    max-width:100%;
    display:block;
    margin-top:30px;
    height:auto;
    object-fit:contain;
    border-radius:20px;
}

@media (min-width:769px){

    .hero-content{
        max-width:900px;
    }

    .hero-heading{
        width:max-content;
        max-width:100%;
        margin-left:auto;
        margin-right:auto;
    }

    .hero-heading h1{
        flex:none;
        text-align:left;
    }

    .hero .subtitle{
        text-align:center;
    }

    .hero .buttons{
        justify-content:center;
    }

    .hero-image{
        margin-left:auto;
        margin-right:auto;
    }

    .buttons{
        flex-direction:column;
        align-items:center;
    }

    .buttons a{
        width:auto;
    }

    .store-badge{
        height:52px;
    }

    .buttons{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    }

    .buttons a{
        display:block;
        margin:0 auto;
    }

    .btn{
        width:190px;
    }

    .buttons{
        gap:10px;
    }
}

/* ===== OLD WAY / EVIDO WAY ===== */

.problem{
    background:#fff;
    color:#000;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:34px;
    padding-top:70px;
    padding-bottom:76px;
}

.comparison-block{
    width:100%;
    max-width:440px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:16px;
}

.comparison-block h3{
    width:100%;
    display:flex;
    align-items:center;
    gap:16px;
    font-size:15px;
    line-height:1.2;
    letter-spacing:.06em;
    font-weight:800;
    white-space:nowrap;
}

.comparison-block h3::before,
.comparison-block h3::after{
    content:"";
    height:1px;
    flex:1;
    background:currentColor;
    opacity:.65;
}

.comparison-block h2{
    font-size:40px;
    line-height:1.06;
    font-weight:850;
}

.old-way h3{
    color:#777;
}

.new-way h3{
    color:#65b82e;
}

.new-way h2{
    font-weight:900;
}

.comparison-card{
    display:block;
    height:auto;
    margin:4px auto;
    border-radius:14px;
}

.old-card{
    width:min(86vw,365px);
}

.evido-card{
    width:min(90vw,390px);
}

/* ===== WORDS ===== */

.words{
    text-align:center;
}

.words h2{
    font-size:48px;
    margin-bottom:22px;
}

.swipe-hint{
    margin-bottom:25px;
    font-size:18px;
    color:#d7e6d2;
    opacity:.9;
}

.cards{
    display:flex;
    gap:16px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0 20px 20px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}

.card{
    flex:0 0 260px;
    height:390px;
    border-radius:18px;
    background:transparent;
    display:flex;
    justify-content:center;
    align-items:center;
    scroll-snap-align:start;
}

.card img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:18px;
}

/* ===== HOW ===== */

.how{
    background:#fff;
    color:#000;
    text-align:left;
    padding-top:72px;
    padding-bottom:76px;
}

.how h2{
    text-align:center;
    font-size:48px;
    line-height:1.08;
    margin-bottom:48px;
}

.steps{
    width:100%;
    max-width:1080px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:28px;
}

.step{
    display:grid;
    grid-template-columns:139px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:14px;
    align-items:center;
}

.step-icon{
    width:139px;
    height:139px;
    object-fit:contain;
    display:block;
    grid-column:1;
    grid-row:1 / 3;
}

.step h3{
    grid-column:2;
    align-self:end;
    margin:0 0 6px;
    font-size:20px;
    line-height:1.08;
    font-weight:800;
}

.step p{
    grid-column:2;
    align-self:start;
    margin:0;
    color:#666;
    font-size:15px;
    line-height:1.35;
}

/* ===== DOWNLOAD ===== */

.download{
    text-align:center;
}

.download h2{
    max-width:700px;
    margin:0 auto;
    font-size:52px;
}

.download .buttons{
    justify-content:center;
}

/* ===== PLACEHOLDER ===== */

.placeholder{
    height:500px;
    border-radius:20px;
    background:#1e4f31;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
}

/* ===== MOBILE ===== */

@media (max-width:768px){

    html,
    body{
        overflow-x:hidden;
    }

    section{
        padding:52px 20px;
    }

    /* ===== HERO ===== */

    .hero{
        min-height:auto;
        padding-top:40px;
        align-items:flex-start;
    }

    .hero-content{
        width:100%;
        max-width:100%;
    }

    .hero-heading{
        gap:16px;
    }

    .logo img{
        width:80px;
        height:80px;
        border-radius:19px;
    }

    h1{
        font-size:30px;
        line-height:1.1;
    }

    .subtitle{
        margin-top:24px;
        font-size:20px;
        line-height:1.25;
    }

    .buttons{
        margin-top:28px;
        gap:10px;
        justify-content:center;
        align-items:center;
    }

    .buttons a{
        display:block;
    }

    .btn{
        flex:1;
        min-width:0;
        padding:13px 16px;
        font-size:13px;
    }

    .hero-image{
        width:100%;
        display:flex;
        justify-content:center;
    }

    .hero-image img{
        width:auto;
        max-width:100%;
        max-height:min(44dvh, 480px);
        margin-top:28px;
        border-radius:14px;
    }

    /* ===== OLD WAY ===== */

    .problem{
        padding:54px 18px 64px;
        gap:30px;
    }

    .comparison-block{
        max-width:360px;
        gap:14px;
    }

    .comparison-block h3{
        font-size:12px;
        gap:12px;
    }

    .comparison-block h2{
        font-size:30px;
        line-height:1.08;
    }

    .old-card{
        width:min(88vw,305px);
    }

    .evido-card{
        width:min(94vw,340px);
    }

    /* ===== WORDS ===== */

    .words h2{
        font-size:34px;
        line-height:1.1;
        margin-bottom:24px;
    }

    .swipe-hint{
        font-size:13px;
        margin-bottom:24px;
    }

    .cards{
        gap:14px;
        padding:0 4px 18px;
    }

    .card{
        flex:0 0 172px;
        height:258px;
        border-radius:14px;
    }

    .card img{
        border-radius:14px;
    }

    /* ===== HOW ===== */

    .how{
        padding:50px 20px 56px;
    }

    .how h2{
        font-size:30px;
        line-height:1.08;
        margin-bottom:34px;
        text-align:center;
    }

    .steps{
        max-width:340px;
        margin:0 auto;
        grid-template-columns:1fr;
        gap:24px;
    }

    .step{
        grid-template-columns:132px 1fr;
        column-gap:14px;
        align-items:center;
    }

    .step-icon{
        width:132px;
        height:132px;
    }

    .step h3{
        margin:0 0 4px;
        font-size:18px;
        line-height:1.08;
    }

    .step p{
        font-size:13px;
        line-height:1.28;
    }

    /* ===== DOWNLOAD ===== */

    .download{
        padding:52px 20px 56px;
        text-align:center;
    }

    .download h2{
        max-width:320px;
        margin:0 auto;
        font-size:28px;
        line-height:1.18;
        text-align:center;
    }

    .download .buttons{
        margin-top:28px;
        justify-content:center;
    }

    .placeholder{
        height:300px;
    }
}

/* Phones with a short viewport, including landscape orientation. */
@media (max-width:768px) and (max-height:750px){

    .hero{
        padding-top:24px;
        padding-bottom:32px;
    }

    .hero-heading{
        gap:14px;
    }

    .subtitle{
        margin-top:16px;
    }

    .buttons{
        margin-top:20px;
    }

    .hero-image img{
        max-height:36dvh;
        margin-top:20px;
    }
}

/* ===== SMALL MOBILE ===== */

@media (max-width:380px){

    section{
        padding:44px 16px;
    }

    h1{
        font-size:26px;
        line-height:1.1;
    }

    .subtitle{
        font-size:19px;
    }

    .buttons{
        gap:8px;
    }

    .btn{
        padding:12px 12px;
        font-size:12px;
    }

    .comparison-block{
        max-width:300px;
    }

    .comparison-block h2{
        font-size:27px;
    }

    .old-card{
        width:min(84vw,270px);
    }

    .evido-card{
        width:min(90vw,300px);
    }

    .words h2{
        font-size:30px;
    }

    .card{
        flex:0 0 160px;
        height:240px;
    }

    .how{
        padding:44px 16px 48px;
    }

    .steps{
        max-width:300px;
        gap:20px;
    }

    .step{
        grid-template-columns:103px 1fr;
        column-gap:12px;
    }

    .step-icon{
        width:103px;
        height:103px;
    }

    .step h3{
        font-size:16px;
        line-height:1.08;
    }

    .step p{
        font-size:12px;
        line-height:1.32;
    }

    .download{
        padding:44px 16px 48px;
    }

    .download h2{
        max-width:280px;
        font-size:24px;
        line-height:1.2;
    }
}
.store-badge{
    height:56px;
    width:auto;
    display:block;
    transition:transform .2s;
}

.store-badge:hover{
    transform:translateY(-2px);
}
