:root {
    --bg: #F7F8FA;
    --bg-1: #EEF0F3;
    --panel: #FFFFFF;
    --panel-2: #FAFBFC;
    --gpu: #2E86D8;
    --rec: #E14545;
    --live: #2FA84F;
    --radius: 10px;
    --s-bg: #0A0E13;
    --font-mono: monospace;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
}

section {
    position: relative;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ---------- background texture ---------- */
.grid-fade {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(18, 24, 31, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 24, 31, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 10%, transparent 70%);
    pointer-events: none;
}

.btn-line {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}

.btn-line:hover {
    border-color: var(--signal);
    color: var(--signal);
}

/* ---------- hero ---------- */
.hero {
    padding: clamp(56px, 5.5vw, 100px) 0 clamp(40px, 4vw, 68px);
    overflow: hidden;
    position: relative;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 620px at 78% 8%, rgba(47, 99, 217, 0.14), transparent 60%),
        radial-gradient(700px 500px at 100% 60%, rgba(217, 105, 30, 0.08), transparent 65%),
        var(--bg);
}

.hero-center {
    position: relative;
    text-align: center;
    max-width: 860px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.06;
    margin: 18px 0 20px;
}

.hero h1 span {
    color: var(--signal);
}

.hero-center p {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

/* big pill CTAs reuse .btn/.btn-primary from style.css */
.hero .btn-primary,
.hero .btn-line {
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
}

.hero .btn-line {
    color: var(--signal);
    border-color: var(--signal);
}

.hero .btn-line:hover {
    border-color: var(--signal-dark);
    color: var(--signal-dark);
    transform: translateY(-1px);
}

/* ---------- hero product stage ---------- */
.hero-mock {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 34px 72px -22px rgba(18, 24, 31, .42), 0 10px 26px -12px rgba(18, 24, 31, .18);
    padding: clamp(20px, 3vw, 40px) clamp(14px, 2.5vw, 34px);
    background:
        radial-gradient(1100px 620px at 78% 8%, rgba(38, 86, 170, .30), transparent 62%),
        radial-gradient(760px 520px at 8% 92%, rgba(24, 58, 120, .26), transparent 65%),
        radial-gradient(900px 700px at 50% 50%, #131A2A 0%, #0B111C 60%, #05080F 100%);
}

.hero-mock::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(122deg, transparent 44%, rgba(120, 170, 255, .055) 46%, transparent 48%),
        linear-gradient(122deg, transparent 60%, rgba(120, 170, 255, .04) 62%, transparent 64%),
        linear-gradient(-118deg, transparent 30%, rgba(120, 170, 255, .045) 32%, transparent 34%);
}

.hero-mock > img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 2px 0 rgba(255, 255, 255, .06);
}

.hero-strip {
    list-style: none;
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 30px;
    padding: 18px 10px 2px;
}

.hero-strip li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #C7D5EC;
    font-size: 15px;
    font-weight: 500;
}

.hero-strip li img {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

/* ---------- why ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.why-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, transform .15s ease;
}

.why-card:hover {
    border-color: var(--signal);
    transform: translateY(-2px);
}

.why-card > img {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 10px;
    background: var(--signal-soft);
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 15.5px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 13.5px;
    color: var(--text-dim);
}

/* ---------- section shared ---------- */
.section {
    padding: clamp(48px, 5vw, 92px) 0;
}

.section-flush {
    padding-top: 0;
}

/* ~10% of viewport between sections */
.section-head {
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-top: 14px;
}

.section-head p {
    color: var(--text-dim);
    margin: 12px auto 0;
    font-size: 15.5px;
    max-width: 60ch;
}

/* ---------- comparison table ---------- */
.vs-table {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--panel);
    box-shadow: 0 20px 40px -32px rgba(18, 24, 31, .35);
}

.vs-row {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    border-top: 1px solid var(--border-soft);
}

.vs-row:first-child {
    border-top: none;
}

.vs-cell {
    padding: 17px 24px;
    font-size: 15px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 9px;
}

.vs-cell:first-child {
    font-weight: 600;
    color: var(--text);
}

.vs-cell:nth-child(2) {
    background: rgba(46, 134, 216, 0.05);
    border-left: 1px solid var(--border-soft);
    border-right: 1px solid var(--border-soft);
    color: var(--text);
    font-weight: 600;
}

.vs-head {
    background: var(--panel-2);
}

.vs-head .vs-cell {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 15px 24px;
}

.vs-head .vs-cell:nth-child(2) {
    color: var(--signal);
    background: var(--signal-soft);
}

.vs-mark {
    width: 17px;
    height: 17px;
    flex: none;
}


/* ---------- feature story blocks ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.story-reverse .story-media {
    order: -1;
}

.story-grid h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 14px 0 16px;
    max-width: 22ch;
}

.story-grid h2 + p {
    color: var(--text-dim);
    font-size: 15.5px;
    margin-bottom: 22px;
}

.story-list {
    list-style: none;
}

.story-list li {
    font-size: 14.5px;
    color: var(--text);
    padding: 10px 0 10px 22px;
    border-top: 1px solid var(--border-soft);
    position: relative;
}

.story-list li:first-child {
    border-top: none;
}

.story-list li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--signal);
    font-size: 22px;
    line-height: 0.6;
    top: 14px;
}

.story-media {
    position: relative;
}

.story-panel {
    aspect-ratio: 4/2.45;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(150deg, var(--s-bg), #182230);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
}

/* wide product screenshot sat on the mat, never cropped */
.story-panel img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 22px 46px -18px rgba(0, 0, 0, .55);
}

.story-chip {
    position: absolute;
    left: 24px;
    bottom: -20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 16px 30px -14px rgba(18, 24, 31, .2);
}

.chip-icon {
    color: var(--signal);
    font-size: 14px;
}

.chip-icon.gpu {
    color: var(--gpu);
    font-size: 10px;
}

/* ---------- feature grid ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature {
    background: var(--panel);
    padding: 24px 24px 26px;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.feature > img {
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 9px;
    background: var(--signal-soft);
    margin-bottom: 14px;
}

.feature h3 {
    font-size: 17px;
    margin-bottom: 7px;
}

.feature p {
    font-size: 14px;
    color: var(--text-dim);
    flex: 1;
    margin-bottom: 0;
}

.feature-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--signal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
}

.feature-link:hover {
    color: var(--signal-dark);
}

/* ---------- pipeline ---------- */
.pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    counter-reset: step;
}

.pipeline::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--border) 0 6px, transparent 6px 12px);
}

.pstep {
    position: relative;
    text-align: center;
}

.pstep::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--signal);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.pstep h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.pstep p {
    color: var(--text-dim);
    font-size: 14px;
    max-width: 28ch;
    margin: 0 auto;
}

/* ---------- built for every environment ---------- */
.env-badges {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.env-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: border-color .15s ease, transform .15s ease;
}

.env-badge:hover {
    border-color: var(--signal);
    transform: translateY(-2px);
}

.env-badge > img {
    width: 42px;
    height: 42px;
    padding: 11px;
    border-radius: 50%;
    background: var(--signal-soft);
}

/* ---------- cta ---------- */
.cta {
    margin: 0 auto;
    max-width: 1284px;
    width: calc(100% - 56px);
    padding: 60px 52px;
    border-radius: 18px;
    background: radial-gradient(900px 300px at 15% 0%, rgba(91, 157, 255, 0.18), transparent 60%), var(--panel);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta h2 {
    font-size: clamp(24px, 3vw, 32px);
    max-width: 480px;
}

.cta p {
    color: var(--text-dim);
    margin-top: 10px;
    max-width: 460px;
    font-size: 14.5px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.price-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.price-card:hover {
    border-color: var(--signal);
    transform: translateY(-2px);
}

.price-card.is-featured {
    border-color: var(--signal);
    box-shadow: 0 26px 54px -32px rgba(46, 134, 216, .55);
}

.price-flag {
    position: absolute;
    top: -11px;
    left: 24px;
    background: var(--signal);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.price-card h3 {
    font-size: 17px;
    margin-bottom: 7px;
}

.price-blurb {
    font-size: 13.5px;
    color: var(--text-dim);
    margin-bottom: 20px;
    min-height: 58px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid var(--border-soft);
    padding-top: 18px;
    margin-bottom: 18px;
}

.price-amount .from {
    font-family: var(--font-mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-faint);
    width: 100%;
    margin-bottom: 2px;
}

.price-amount .num {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-amount .unit {
    font-size: 13.5px;
    color: var(--text-dim);
}

.price-list {
    list-style: none;
    flex: 1;
    margin-bottom: 22px;
}

.price-list li {
    font-size: 13.5px;
    color: var(--text-dim);
    padding: 7px 0 7px 22px;
    position: relative;
}

.price-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 12px;
    width: 10px;
    height: 5px;
    border-left: 1.8px solid var(--signal);
    border-bottom: 1.8px solid var(--signal);
    transform: rotate(-45deg);
}

.price-card .btn {
    width: 100%;
    justify-content: center;
}

.price-foot {
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 26px;
}

.price-foot a {
    color: var(--signal);
    font-weight: 600;
    border-bottom: 1px solid rgba(46, 134, 216, .35);
}

.price-foot a:hover {
    border-color: var(--signal);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .price-blurb {
        min-height: 0;
    }

    .hero {
        padding-top: 48px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .pipeline {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pipeline::before {
        display: none;
    }

    .env-badges {
        grid-template-columns: repeat(3, 1fr);
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .story-reverse .story-media {
        order: 0;
    }

    .story-chip {
        position: static;
        margin-top: 16px;
        display: inline-flex;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 28px;
    }

    .section {
        padding: clamp(40px, 6vw, 56px) 0;
    }
}

@media (max-width: 720px) {
    .vs-row {
        grid-template-columns: 1fr 1fr;
    }

    .vs-cell:first-child {
        grid-column: 1 / -1;
        padding-bottom: 4px;
    }

    .vs-head .vs-cell:first-child {
        display: none;
    }

    .vs-cell {
        padding: 13px 18px;
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}