:root {
    --bg: #f5f6fa;
    --surface: rgba(255, 255, 255, 0.9);
    --line: rgba(17, 18, 22, 0.08);
    --text-main: #111216;
    --text-soft: rgba(17, 18, 22, 0.54);
    --blue: #0D40FF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing-page {
    margin: 0;
    min-height: 100vh;
    background: #ffffff;
    color: var(--text-main);
    font-family: 'Manrope', sans-serif;
}
img { display: block; max-width: 100%; }
.landing-main {
    width: min(92vw, 1280px);
    margin: 0 auto;
    padding: 28px 0 80px;
}
.landing-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border-radius: 24px;
    background: #f3f4f8;
}
.landing-brand { display: inline-flex; align-items: center; }
.landing-brand img { width: 188px; height: auto; }
.landing-topbar-actions,
.hero-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 200ms ease, color 200ms ease;
}
.landing-button:hover { transform: translateY(-1px); }
.landing-button-primary { background: #0D40FF; color: #ffffff; }
.landing-button-secondary { background: transparent; color: #111216; }
.hero-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    place-items: center;
    text-align: center;
    min-height: 70vh;
    padding: 88px 0 54px;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f3f4f8;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}
.hero-section h1 {
    margin: 22px 0 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.4rem, 7vw, 6.4rem);
    line-height: 0.92;
    letter-spacing: -0.08em;
}
.hero-section h1 span { color: var(--blue); }
.hero-section p {
    max-width: 700px;
    margin: 0;
    color: var(--text-soft);
    font-size: 1.18rem;
    line-height: 1.7;
}
.hero-actions { margin-top: 34px; }
.preview-section { margin-top: 12px; }
.preview-shell {
    padding: 18px;
    border: 1.5px solid #111216;
    border-radius: 34px;
    background: #f5f6fa;
    overflow: hidden;
}
.preview-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
}
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 900px) {
    .landing-main { width: min(94vw, 100%); }
    .landing-topbar {
        flex-direction: column;
        align-items: stretch;
    }
    .landing-topbar-actions { justify-content: stretch; }
    .landing-topbar-actions .landing-button { flex: 1 1 auto; }
    .hero-section {
        min-height: auto;
        padding: 72px 0 36px;
    }
    .hero-section h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
    .hero-section p { font-size: 1rem; }
    .preview-frame { aspect-ratio: auto; height: 680px; }
}
/* Mobile landing overrides */
@media (max-width: 640px) {
    .landing-main {
        width: 100%;
        padding: 16px 12px 48px;
    }

    .landing-topbar {
        padding: 12px;
        border-radius: 20px;
    }

    .landing-brand img {
        width: 148px;
    }

    .landing-topbar-actions,
    .hero-actions {
        width: 100%;
    }

    .landing-topbar-actions .landing-button,
    .hero-actions .landing-button {
        width: 100%;
    }

    .hero-section {
        align-items: stretch;
        place-items: start;
        min-height: auto;
        padding: 56px 0 24px;
        text-align: left;
    }

    .hero-kicker {
        align-self: flex-start;
    }

    .hero-section h1 {
        margin: 18px 0 14px;
        font-size: clamp(2.4rem, 14vw, 3.4rem);
    }

    .hero-section p {
        max-width: none;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .preview-shell {
        padding: 12px;
        border-radius: 24px;
    }

    .preview-frame {
        height: 520px;
        border-radius: 16px;
    }
}
