@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
    --ink: #101828;
    --muted: #667085;
    --line: #e6eaf0;
    --blue: #625bf6;
    --blue-dark: #4239dc;
    --violet-pale: #f4f3ff;
    --paper: #fffdfa;
    --green: #078b61;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
    font:
        14px/1.6 Manrope,
        Arial,
        sans-serif;
}
.wrap {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
}
.nav {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.06em;
    text-decoration: none;
}
.brand img {
    width: 28px;
    height: 28px;
}
.nav nav {
    display: flex;
    gap: 32px;
}
.nav nav a,
.text-link {
    color: #536076;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.nav nav a:hover,
.text-link:hover {
    color: var(--blue);
}
.nav-github {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.nav-github:hover {
    color: var(--blue);
    border-color: #cbd5e1;
    background: #f8fafc;
}
.nav-github svg {
    width: 17px;
    height: 17px;
    display: block;
}
.nav-github i,
.nav-github .lucide {
    width: 13px;
    height: 13px;
    color: #94a3b8;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}
.button:hover {
    background: #1e293b;
    border-color: #334155;
    box-shadow:
        0 4px 14px -2px rgba(16, 24, 40, 0.25),
        0 2px 4px -1px rgba(16, 24, 40, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.button:active {
    background: #0f172a;
    border-color: #0f172a;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.12),
        inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
.button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.button i,
.text-link i {
    width: 15px;
}
.button-small {
    padding: 9px 13px;
}
.eyebrow {
    margin: 0;
    color: #6679a0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0 20px;
}
.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5050bb;
}
.hero .eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6d65f6;
    box-shadow: 0 0 0 4px #e8e7ff;
}
.hero h1,
.product-intro h2,
.principles h2,
.install h2 {
    margin: 0 0 18px;
    font-size: clamp(44px, 5vw, 64px);
    letter-spacing: -0.035em;
    line-height: 1.05;
}
.hero h1 {
    font-size: clamp(34px, 5.5vw, 67px);
}
.hero h1 em,
.product-intro em {
    color: var(--blue);
    font-style: normal;
    display: inline-block;
}
.hero-lead {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 29px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ink);
}
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}
.hero-proof span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.hero-proof i {
    width: 13px;
    color: var(--blue);
}
.hero-orbit {
    position: relative;
    height: 492px;
}
.orbit-glow {
    position: absolute;
    inset: 45px 20px 36px 12px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        #e7e4ff 0,
        #f4f2ff 42%,
        transparent 70%
    );
}
.hero-dashboard {
    position: absolute;
    z-index: 1;
    top: 86px;
    right: -42px;
    width: 565px;
    overflow: hidden;
    border: 1px solid #dce0eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 28px 50px #32395c20;
    transform: rotate(-2.4deg);
}
.hero-dashboard-top {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 39px;
    padding: 0 14px;
    border-bottom: 1px solid #edf0f5;
    color: #95a0b3;
    font:
        10px "DM Mono",
        monospace;
}
.hero-dashboard-top > i {
    width: 15px;
    margin-left: auto;
}
.dot-group {
    display: flex;
    gap: 4px;
}
.dot-group b {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffb6ad;
}
.dot-group b:nth-child(2) {
    background: #ffd981;
}
.dot-group b:last-child {
    background: #8be4b9;
}
.hero-dashboard-main {
    padding: 23px;
    background: linear-gradient(135deg, #fff 60%, #fbfaff);
}
.hero-dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.hero-dashboard-heading small,
.metric-row small,
.mini-chart small {
    display: block;
    color: #8a96a9;
    font-size: 9px;
    font-weight: 700;
}
.hero-dashboard-heading strong {
    display: block;
    margin-top: 2px;
    font-size: 17px;
    letter-spacing: -0.04em;
}
.hero-dashboard-heading > span {
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: #69758a;
    font-size: 9px;
    font-weight: 700;
}
.hero-dashboard-heading i {
    width: 11px;
    vertical-align: middle;
}
.metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0 9px;
}
.metric-row article {
    padding: 11px;
    border: 1px solid #edf0f5;
    border-radius: 7px;
    background: #fff;
}
.metric-row strong {
    display: block;
    margin: 2px 0;
    font-size: 18px;
    letter-spacing: -0.05em;
}
.metric-row em {
    color: var(--green);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}
.mini-chart {
    height: 178px;
    padding: 16px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fff;
}
.mini-chart strong {
    display: block;
    margin-top: 3px;
    font-size: 15px;
    letter-spacing: -0.04em;
}
.mini-chart strong em {
    color: #94a3b8;
    font-size: 9px;
    font-style: normal;
    font-weight: 600;
}
.mini-chart svg {
    width: 100%;
    height: 112px;
    margin-top: 4px;
}
.chart-area {
    fill: url(#heroGradient);
}
.chart-line {
    fill: none;
    stroke: #6d65f6;
    stroke-width: 3;
    stroke-linecap: round;
}
.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid #e0e4ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 25px #27315218;
}
.floating-card small {
    display: block;
    color: #8792a4;
    font-size: 9px;
    font-weight: 700;
}
.floating-card strong {
    display: block;
    font-size: 15px;
    letter-spacing: -0.05em;
}
.visitors {
    top: 28px;
    left: 0;
}
.visitors > b {
    margin-left: 13px;
    color: var(--green);
    font-size: 9px;
}
.floating-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
}
.floating-icon i {
    width: 15px;
}
.blue-icon {
    background: #e8eaff;
    color: #6057ee;
}
.conversion {
    right: -5px;
    bottom: 39px;
}
.ring {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 4px solid #a8e5d1;
    border-left-color: #19ae7b;
    border-radius: 50%;
    color: #078b61;
    font-size: 9px;
    font-weight: 800;
}
.logo-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #8390a3;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.logo-line div {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c6cdda;
}
.product-intro {
    padding: 142px 0 53px;
}
.product-intro h2 {
    max-width: 650px;
    font-size: clamp(38px, 4.5vw, 58px);
}
.product-intro > p:last-child {
    max-width: 425px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}
.showcase {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e4e7ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(16, 24, 40, 0.04);
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.product-card:hover {
    border-color: #d0d5dd;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}
.product-card:last-child {
    grid-column: auto;
}
.card-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px 24px 16px;
    box-sizing: border-box;
}
.product-card:last-child .card-copy {
    width: 100%;
}
.feature-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #c1c8d4;
    font:
        11px "DM Mono",
        monospace;
}
.card-copy > i,
.card-copy > svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Distinct card personalities */
.sessions-card {
    background: linear-gradient(145deg, #f8faff 0%, #ffffff 50%, #f1f5f9 100%);
    border-color: #e2e8f0;
}
.sessions-card .card-copy > i,
.sessions-card .card-copy > svg {
    color: #2563eb;
}

.events-card {
    background: linear-gradient(145deg, #fbfaff 0%, #ffffff 50%, #f5f3ff 100%);
    border-color: #e0e7ff;
}
.events-card .card-copy > i,
.events-card .card-copy > svg {
    color: #6366f1;
}

/* Funnels is the key / star feature */
.funnels-card {
    background: linear-gradient(
        135deg,
        #eef2ff 0%,
        #ffffff 42%,
        #e0e7ff 100%
    ) !important;
    border-color: #a5b4fc !important;
    box-shadow:
        0 10px 32px -4px rgba(99, 102, 241, 0.12),
        0 4px 12px rgba(16, 24, 40, 0.04) !important;
}
.funnels-card .card-copy > i,
.funnels-card .card-copy > svg {
    color: #4338ca;
}

.import-card {
    background: linear-gradient(145deg, #f0fdf9 0%, #ffffff 50%, #f1fbf7 100%);
    border-color: #a7f3d0;
}
.import-card .card-copy > i,
.import-card .card-copy > svg {
    color: #059669;
}

.import-shot {
    max-width: 420px;
    margin: 0 auto 16px;
}

.card-copy h3 {
    max-width: 100%;
    margin: 14px 0 8px;
    font-size: 24px;
    letter-spacing: -0.04em;
    line-height: 1.2;
}
.card-copy .card-lead {
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 10px;
}
.card-copy .card-sub {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}
.card-copy a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 23px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
.card-copy a i {
    width: 14px;
    transition: transform 0.2s;
}
.card-copy a:hover i {
    transform: translateX(3px);
}
.product-shot {
    position: relative;
    overflow: hidden;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(28, 41, 64, 0.07);
    margin: 0 20px 20px;
}
.product-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.principles {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    padding: 110px 0;
}
.principles h2 {
    font-size: 48px;
}
.principles-intro > p:last-child {
    max-width: 315px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.principles-intro em {
    color: var(--blue);
    font-style: normal;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.principles-grid article {
    padding: 28px 23px;
    border-right: 1px solid var(--line);
}
.principles-grid article:last-child {
    border: 0;
}
.principles-grid i {
    width: 21px;
    color: var(--blue);
}
.principles-grid h3 {
    margin: 18px 0 6px;
    font-size: 15px;
    letter-spacing: -0.02em;
}
.principles-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}
.install {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 84px;
    padding: 48px 52px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.install-content {
    flex: 1 1 48%;
    max-width: 480px;
}

.install h2 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--ink);
}

.install h2 em {
    color: var(--blue);
    font-style: normal;
}

.install-lead {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.install-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.button-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--ink);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.button-secondary:active {
    background: #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.button-secondary svg {
    width: 16px;
    height: 16px;
}

/* Terminal visual */
.install-terminal {
    flex: 1 1 52%;
    max-width: 500px;
    min-width: 280px;
    overflow: hidden;
    border: 1px solid #1e293b;
    border-radius: 12px;
    background: #0b0f19;
    box-shadow:
        0 16px 32px -8px rgba(15, 23, 42, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.terminal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 14px;
    border-bottom: 1px solid #1e293b;
    background: #101626;
}

.terminal-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
    background: #ef4444;
}
.terminal-dots span:nth-child(2) {
    background: #f59e0b;
}
.terminal-dots span:nth-child(3) {
    background: #10b981;
}

.terminal-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.terminal-copy:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.terminal-copy .copy-icon,
.terminal-copy .check-icon {
    display: block;
    width: 13px;
    height: 13px;
}

.terminal-copy .check-icon {
    display: none !important;
}

.terminal-copy.copied {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.terminal-copy.copied .copy-icon {
    display: none !important;
}

.terminal-copy.copied .check-icon {
    display: block !important;
}

.terminal-body {
    margin: 0;
    padding: 16px 18px;
    overflow-x: auto;
    font:
        11px/1.8 "JetBrains Mono",
        monospace;
    color: #e2e8f0;
    scrollbar-width: none;
}

.terminal-body::-webkit-scrollbar {
    display: none;
}

.terminal-body code {
    display: block;
    font-family: inherit;
    white-space: pre-wrap;
    word-break: normal;
    overflow-wrap: anywhere;
}

.t-comment {
    color: #64748b;
    display: block;
}

.t-cmd {
    display: block;
}

.t-prompt {
    color: #38bdf8;
    font-weight: 600;
    margin-right: 4px;
}
footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 29px 0;
    color: #8b96a8;
    font-size: 11px;
    border-top: 1px solid var(--line);
}
footer .brand {
    font-size: 16px;
}
footer > span {
    margin-left: 3px;
}
footer > a:last-child {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: #637087;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
footer > a:last-child i {
    width: 13px;
}
@media (max-width: 800px) {
    .wrap {
        width: min(100% - 32px, 1180px);
    }
    .nav {
        height: 70px;
    }
    .nav nav {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 64px 0 35px;
        min-height: auto;
    }
    .hero h1 {
        font-size: 46px;
    }
    .hero-orbit {
        height: 395px;
        margin-top: 4px;
    }
    .hero-dashboard {
        top: 66px;
        right: -56px;
        width: 520px;
    }
    .logo-line {
        gap: 9px;
        font-size: 8px;
    }
    .product-intro {
        padding: 88px 0 38px;
    }
    .showcase {
        gap: 24px;
    }
    .principles {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 90px 0;
    }
    .principles h2 {
        font-size: 42px;
    }
    .principles-grid {
        grid-template-columns: 1fr;
    }
    .principles-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 22px;
    }
    .principles-grid article:last-child {
        border-bottom: 0;
    }
    .install {
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
        padding: 38px 28px;
        margin-bottom: 48px;
    }
    .install-content {
        max-width: 100%;
    }
    .install-terminal {
        max-width: 100%;
        min-width: 0;
    }
    .install-actions {
        flex-wrap: wrap;
    }
}
@media (max-width: 520px) {
    .hero h1 {
        font-size: clamp(30px, 8.5vw, 38px);
    }
    .hero-lead {
        font-size: 13px;
    }
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .button {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
    .product-intro h2 {
        font-size: 34px;
    }
    .product-card,
    .product-card:last-child {
        border-radius: 14px;
    }
    .card-copy,
    .product-card:last-child .card-copy {
        width: 100%;
        padding: 22px 18px 12px;
    }
    .card-copy h3 {
        font-size: 20px;
    }
    .card-copy p {
        font-size: 13px;
    }
    .product-shot {
        margin: 0 14px 16px;
        border-radius: 8px;
    }
    .install {
        padding: 28px 18px;
        border-radius: 16px;
    }
    .install h2 {
        font-size: 28px;
    }
    .install-lead {
        font-size: 13.5px;
    }
    .install-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .install-actions .button,
    .install-actions .button-secondary {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
    .terminal-body {
        font-size: 11px;
        padding: 14px 16px;
    }
    footer {
        flex-wrap: wrap;
        gap: 10px;
    }
    footer > span {
        width: 100%;
        order: 3;
    }
    footer > a:last-child {
        margin-left: auto;
    }
}
@media (max-width: 400px) {
    .nav {
        gap: 10px;
    }
    .brand span {
        font-size: 16px;
    }
    .button-small {
        padding: 8px 10px;
        font-size: 11px;
    }
}

/* The hero shows the actual product rather than illustrative dashboard data. */
.hero .eyebrow {
    display: block;
    color: #6679a0;
}
/* Hero Visual: Browser frame & ambient atmosphere */
.hero-visual-wrap {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin-top: 52px;
    display: flex;
    justify-content: center;
}
.hero-glow {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 95%;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(99, 102, 241, 0.22) 0%,
        rgba(56, 189, 248, 0.15) 45%,
        transparent 72%
    );
    filter: blur(55px);
    pointer-events: none;
    z-index: 0;
}
.hero-product-shot {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dce3ee;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 25px 60px -15px rgba(39, 49, 82, 0.18),
        0 10px 24px -10px rgba(39, 49, 82, 0.08);
}
.browser-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    padding: 0 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.browser-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 60px;
}
.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.browser-dots span:nth-child(1) {
    background: #ff5f56;
}
.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}
.browser-dots span:nth-child(3) {
    background: #27c93f;
}
.browser-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 24px;
    padding: 0 14px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11.5px;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.browser-address i,
.browser-address svg {
    width: 11px;
    height: 11px;
    color: #94a3b8;
}
.browser-actions {
    width: 60px;
}
.hero-product-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.product-intro {
    padding-top: 118px;
}
.product-intro > p:last-child {
    max-width: 400px;
}
.hero-proof,
.hero-orbit,
.logo-line {
    display: none;
}
@media (max-width: 800px) {
    .hero-product-shot {
        width: 100%;
        margin-left: 0;
    }
    .product-intro {
        padding-top: 85px;
    }
}
@media (max-width: 520px) {
    .hero-product-shot {
        width: 100%;
        margin-left: 0;
    }
    .browser-address {
        font-size: 10px;
        padding: 0 8px;
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .browser-dots {
        width: 38px;
        gap: 4px;
    }
    .browser-dots span {
        width: 7px;
        height: 7px;
    }
    .browser-actions {
        width: 38px;
    }
    .product-intro {
        padding-top: 68px;
    }
}

/* Full-width product frames with alternating layout and 3D screen depth. */
@media (min-width: 801px) {
    .showcase {
        gap: 36px;
    }
    .product-card,
    .product-card:last-child {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding: 44px 46px 40px;
        gap: 46px;
        min-height: auto;
        perspective: 1200px;
    }

    /* Alternance : 1ère texte à gauche (row), 2ème texte à droite (row-reverse), 3ème texte à gauche */
    .product-card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .card-copy,
    .product-card:last-child .card-copy {
        flex: 0 0 340px;
        max-width: 360px;
        padding: 8px 0 0;
    }
    .product-card .card-copy h3 {
        font-size: 28px;
        margin: 8px 0 10px;
    }
    .card-copy .card-lead {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    .card-copy .card-sub {
        font-size: 13.5px;
        line-height: 1.6;
    }

    /* Effet 3D sur les écrans quand l'image est à droite (cards impaires : 1 & 3) */
    .product-card .product-shot {
        flex: 1;
        min-width: 0;
        margin: 0;
        border-radius: 12px;
        transform: perspective(1200px) rotateY(-7deg) rotateX(2.5deg)
            scale(0.98);
        box-shadow:
            -14px 22px 40px -6px rgba(16, 24, 40, 0.12),
            0 4px 14px rgba(16, 24, 40, 0.04);
    }

    /* Effet 3D sur les écrans quand l'image est à gauche (cards paires : 2) */
    .product-card:nth-child(even) .product-shot {
        transform: perspective(1200px) rotateY(7deg) rotateX(2.5deg) scale(0.98);
        box-shadow:
            14px 22px 40px -6px rgba(16, 24, 40, 0.12),
            0 4px 14px rgba(16, 24, 40, 0.04);
    }

    .product-shot img {
        width: 100%;
    }
    .feature-number {
        top: 38px;
        right: 40px;
    }

    /* Import card layout: keep the modal dialog screenshot elegantly sized and vertically balanced */
    .product-card.import-card {
        align-items: center;
        justify-content: center;
        gap: 64px;
    }
    .product-card.import-card .import-shot {
        flex: 0 1 420px;
        max-width: 420px;
        margin: 0;
    }
    .product-card.import-card .card-copy {
        flex: 0 1 360px;
        max-width: 400px;
        padding: 0;
    }
}

/* Match the dashboard's data-viz blue rather than the former violet accent. */
:root {
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --violet-pale: #eff6ff;
}
.hero h1 em,
.product-intro em {
    color: #3b82f6;
}
.funnels-card {
    background: linear-gradient(120deg, #f5f9ff 0, #fff 60%);
}

/* Use the dashboard type scale and the same neutral Inter treatment. */
body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.5;
}
h1,
h2,
h3 {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.hero h1,
.product-intro h2,
.principles h2,
.install h2 {
    letter-spacing: -0.035em;
}
.hero-lead,
.product-intro > p:last-child,
.principles-intro > p:last-child {
    font-size: 14.5px;
    line-height: 1.6;
}
.terminal b,
.terminal pre,
.feature-number {
    font-family:
        "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
        monospace;
}
.hero-product-shot {
    transform: none;
}
.product-shot img,
.hero-product-shot img {
    image-rendering: auto;
}
@media (min-width: 801px) {
    .hero-product-shot {
        width: 100%;
        margin-right: 0;
    }
}

/* Live demo entry points */
.live-dot {
    position: relative;
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    animation: live-pulse 2s infinite;
    flex: 0 0 7px;
}
@keyframes live-pulse {
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
.nav nav a.nav-demo {
    color: var(--ink);
}
.nav nav a.nav-demo:hover {
    color: var(--blue);
}
/* Same box for both hero buttons: icon no taller than the text line. */
.hero-actions .button,
.hero-actions .button-secondary {
    padding: 12px 18px;
    line-height: 18px;
}
.hero-actions .button svg,
.hero-actions .button i {
    width: 16px;
    height: 16px;
}

@media (max-width: 520px) {
    .hero-actions .button-secondary {
        width: 100%;
    }
}

/* Guide shortcuts on install.html */
.docs-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.docs-links a {
    padding: 5px 12px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #ffffff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.15s,
        background 0.15s;
}
.docs-links a:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

/* AI assistants (MCP): its own band, apart from the feature cards */
.assistants {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 56px;
    margin-top: 84px;
    padding: 56px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 55%, #f5f9ff 100%);
}
.assistants h2 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: clamp(34px, 3.8vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.assistants h2 em {
    color: #3b82f6;
    font-style: normal;
}
.assistants-copy > p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}
.assistants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}
.assistants-list li {
    padding: 5px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 500;
}
.assistants-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.assistants-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s;
}
.assistants-link:hover svg {
    transform: translateX(3px);
}
.assistants-visual {
    min-width: 0;
}

/* A Claude-style chat, drawn in HTML so it stays crisp at any size */
.chat {
    overflow: hidden;
    border: 1px solid #e6e2d6;
    border-radius: 16px;
    background: #faf9f5;
    color: #3d3929;
    box-shadow:
        -14px 22px 40px -6px rgba(16, 24, 40, 0.12),
        0 4px 14px rgba(16, 24, 40, 0.04);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
.chat-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid #ebe8df;
}
.chat-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e3dfd3;
}
.chat-bar b {
    flex: 1;
    margin-right: 46px;
    color: #6b6656;
    font-size: 12.5px;
    font-weight: 500;
    text-align: center;
}
.chat-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px 8px;
}
.chat-user {
    align-self: flex-end;
    max-width: 80%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: #f0eee6;
    font-size: 14px;
    line-height: 1.45;
}
.chat-tool {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #e6e2d6;
    border-radius: 8px;
    background: #fff;
    color: #6b6656;
    font-size: 12px;
}
.chat-tool code {
    color: #3d3929;
    font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
    font-size: 11.5px;
}
.chat-tool svg {
    width: 13px;
    height: 13px;
}
.chat-tool .chat-tool-ok {
    color: #16a34a;
}
.chat-answer {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.55;
}
.chat-answer p {
    margin: 0;
}
.chat-bars {
    display: grid;
    gap: 7px;
    margin: 12px 0 14px;
    padding: 0;
    list-style: none;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12.5px;
}
.chat-bars li {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0eee6;
}
.chat-bars li::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--v);
    background: #e7cbb9;
    animation: chat-bar-grow 1s ease-out both;
}
.chat-bars span,
.chat-bars b {
    position: relative;
}
.chat-bars b {
    font-weight: 600;
}
@keyframes chat-bar-grow {
    from {
        width: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .chat-bars li::before {
        animation: none;
    }
}
.chat-composer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 16px 16px;
    padding: 10px 10px 10px 14px;
    border: 1px solid #e6e2d6;
    border-radius: 14px;
    background: #fff;
    color: #a39e8f;
    font-size: 13.5px;
}
.chat-composer > span:first-child {
    flex: 1;
}
.chat-connector {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f0eee6;
    color: #6b6656;
    font-size: 12px;
}
.chat-connector svg {
    width: 12px;
    height: 12px;
}
.chat-send {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #c96442;
    color: #fff;
}
.chat-send svg {
    width: 15px;
    height: 15px;
}
@media (max-width: 800px) {
    .assistants {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 56px;
        padding: 36px 22px;
        border-radius: 16px;
    }
    .chat {
        transform: none;
    }
    .chat-body {
        padding: 18px 16px 4px;
    }
}
