body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #111;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 6rem;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.left {
    flex: 0 0 40%;
    max-width: 500px;
    text-align: left;
    padding-left: 4rem;
    padding-right: 2rem;
}

.logo {
    width: 80px;
    margin-bottom: 20px;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-row h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #636363;
    font-weight: 600;
}


h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
    /* fixed invalid margin unit */
}

.subtitle {
    font-size: 3.2rem;
    font-weight: 900;
    color: #000000;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Launch badge */
.launch-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    margin-left: 0.5rem;
    background: linear-gradient(180deg, #151515, #0f0f0f);
    color: #fff;
    border: 1px solid #262626;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 6px 16px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.launch-badge:hover,
.launch-badge:focus-visible {
    background: linear-gradient(180deg, #1d1d1d, #121212);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 10px 22px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.launch-badge:active {
    transform: translateY(0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 4px 10px rgba(0, 0, 0, 0.12);
}

.tagline {
    font-size: 1.2rem;
    margin-top: 0;
    color: #666;
    line-height: 1.5;
}

.right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 90vh;
    width: 100%;
    margin-left: auto;
}

.phone {
    width: calc(50vw - 1rem);
    min-width: 500px;
    max-width: 700px;
    height: 840px;
    overflow: hidden;
    border-radius: 42px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 0.8rem;
    position: relative;
    margin-right: 2rem;
    display: flex;
    justify-content: center;
}

.screenshot-scroll {
    overflow-y: auto;
    /* was scroll */
    height: 100%;
    width: 420px;
    flex-shrink: 0;

    /* removed auto-scrolling behaviors */
    /* scroll-behavior: smooth; */
    /* scroll-snap-type: y proximity; */
    -webkit-overflow-scrolling: auto;
    /* was touch */
}

.screenshot-scroll img {
    width: 100%;
    display: block;
    border-radius: 22px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
    /* removed scroll-snap-align */
    /* scroll-snap-align: start; */
}

/* Scrollbar styling */
.screenshot-scroll::-webkit-scrollbar {
    width: 8px;
}

.screenshot-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.screenshot-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.screenshot-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Footer */
.site-footer {
    text-align: center;
    color: #888;
    padding: 1rem 0 2rem;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 3rem;
        justify-content: center;
    }

    .left {
        flex: none;
        text-align: center;
        padding: 0;
        max-width: none;
        order: 1;
    }

    .logo-row {
        justify-content: center;
    }

    .right {
        min-height: auto;
        justify-content: center;
        margin-left: 0;
        order: 2;
    }

    .phone {
        width: 85vw;
        min-width: 350px;
        max-width: 450px;
        height: 700px;
        margin-right: 0;
    }

    .screenshot-scroll {
        width: 100%;
        max-width: 380px;
    }

    .logo-row h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
        gap: 2rem;
        min-height: 100vh;
    }

    .left {
        padding: 0 1rem;
    }

    .logo-row {
        justify-content: center;
    }

    .logo {
        width: 70px;
        margin-bottom: 15px;
    }

    .logo-row h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;

        /* Center the badge under the heading/text */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .phone {
        width: 90vw;
        min-width: 280px;
        max-width: 350px;
        height: 600px;
        padding: 0.6rem;
        margin: 0 auto;
    }

    .screenshot-scroll {
        width: 100%;
        max-width: 300px;
    }

    /* Badge sizing and centering on mobile */
    .launch-badge {
        margin-left: 0;
        /* no side offset */
        padding: 0.4rem 0.9rem;
        /* slightly larger tap target */
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
        gap: 1.5rem;
    }

    .left {
        padding: 0 0.5rem;
    }

    .logo-row {
        justify-content: center;
        gap: 0.8rem;
    }

    .logo {
        width: 60px;
        margin-bottom: 10px;
    }

    .logo-row h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.6rem;
        margin-top: 1rem;
    }

    .tagline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .phone {
        width: 95vw;
        min-width: 260px;
        max-width: 300px;
        height: 520px;
        padding: 0.5rem;
        border-radius: 32px;
    }

    .screenshot-scroll {
        width: 100%;
        max-width: 240px;
    }

    .screenshot-scroll img {
        border-radius: 16px;
        margin-bottom: 1rem;
    }
}