:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --ink: #142033;
    --muted: #5c6b80;
    --line: #e3eaf3;
    --accent: #2457d6;
    --accent-dark: #1b43aa;
    --hero: #0e1b33;
    --hero-soft: #1a315c;
}

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

body {
    font-family: "Outfit", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

h1, h2, h3 {
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.brand {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    color: var(--ink);
}

.nav a.btn,
.nav a.btn:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-dark);
}

.btn-small {
    padding: 8px 16px;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.demo-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.demo-frame {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(20, 32, 51, 0.06);
}

.demo-chat {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
    background: #fff;
}

.demo-frame-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.demo-status {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.chat-launcher {
    position: fixed;
    z-index: 20;
    left: 20px;
    bottom: 20px;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(20, 32, 51, 0.22);
}

.chat-launcher:hover {
    background: #24344f;
}

.hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(90, 140, 255, 0.35), transparent 32%),
        linear-gradient(160deg, var(--hero) 0%, var(--hero-soft) 100%);
    color: #fff;
    padding: 96px 0 88px;
}

.eyebrow {
    margin-bottom: 14px;
    color: #b9ccff;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.hero h1 {
    max-width: 14ch;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.lead,
.section-lead,
.hint {
    color: var(--muted);
}

.lead {
    max-width: 38rem;
    margin-top: 18px;
    color: #d5e0f5;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hint {
    margin-top: 16px;
    color: #9eb0d0;
    font-size: 0.92rem;
}

.section {
    padding: 84px 0;
    scroll-margin-top: 88px;
}

.section h2,
.cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-lead {
    margin-top: 10px;
}

.section-alt {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
}

.card h3,
.steps h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.card p,
.steps p,
.cta p,
.footer p {
    color: var(--muted);
}

.steps {
    list-style: none;
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 8px 0;
}

.step-index {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e7eeff;
    color: var(--accent);
    font-weight: 700;
}

.cta {
    padding: 84px 0;
    text-align: center;
}

.cta p {
    margin: 12px 0 22px;
}

.footer {
    padding: 28px 0 96px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.copy {
    margin-top: 4px;
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        min-height: 0;
        padding: 12px 0;
    }

    .nav {
        justify-content: space-between;
        gap: 10px;
    }

    .nav a {
        font-size: 0.95rem;
    }

    .btn-small {
        padding: 8px 12px;
    }

    .card-grid,
    .demo-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 72px 0 64px;
    }

    .demo-chat {
        height: 70vh;
        min-height: 420px;
    }

    .chat-launcher {
        left: 16px;
        bottom: 16px;
    }
}
