:root {
    --bg: #08090c;
    --bg-soft: #11131a;
    --panel: rgba(255, 255, 255, 0.07);
    --panel-strong: rgba(255, 255, 255, 0.11);
    --line: rgba(255, 255, 255, 0.13);
    --text: rgba(255, 255, 255, 0.94);
    --muted: rgba(255, 255, 255, 0.68);
    --dim: rgba(255, 255, 255, 0.48);
    --ember: #ff6b35;
    --ember-2: #ff9b54;
    --gold: #ffd166;
    --blue: #7db7ff;
    --radius: 28px;
    --radius-lg: 42px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 107, 53, 0.24), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(125, 183, 255, 0.16), transparent 36rem),
        linear-gradient(180deg, #08090c 0%, #0d0f15 44%, #07080b 100%);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 25rem),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.44));
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 20;
    width: min(var(--max), calc(100% - 32px));
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 10px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(9, 10, 13, 0.78);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(22px) saturate(1.25);
}

.brand,
.site-nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    filter: drop-shadow(0 0 18px rgba(255, 107, 53, 0.48));
}

.brand-word {
    color: var(--ember);
}

.site-nav {
    gap: 4px;
    font-size: 0.92rem;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.site-nav .nav-cta {
    color: #120905;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ember), var(--gold));
}

main {
    overflow: hidden;
}

section,
.site-footer {
    width: min(var(--max), calc(100% - 36px));
    margin-inline: auto;
}

.hero {
    min-height: calc(100vh - 94px);
    display: grid;
    grid-template-columns: minmax(310px, 0.82fr) minmax(420px, 1.12fr);
    align-items: center;
    gap: 56px;
    padding: 70px 0 58px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--ember-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    letter-spacing: -0.052em;
    line-height: 0.98;
}

h1 {
    max-width: 560px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 5vw, 5.4rem);
}

h1 span,
h2 em {
    font-family: "Instrument Serif", Georgia, serif;
    color: var(--gold);
    font-style: italic;
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 3.7vw, 3.85rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.hero-lede,
.section-copy p,
.center-copy p,
.download-cta p {
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-lede {
    max-width: 580px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button-primary {
    color: #170904;
    background: linear-gradient(135deg, var(--ember), var(--gold));
    box-shadow: 0 18px 54px rgba(255, 107, 53, 0.32);
}

.button-secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.07);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.hero-proof span,
.tech-pill-grid span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
}

.product-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.05);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 220ms ease, border-color 220ms ease;
}

.product-frame img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius) - 2px);
}

.product-frame:hover,
.product-frame:focus-visible {
    border-color: rgba(255, 155, 84, 0.6);
    outline: none;
}

.hero-frame {
    transform-origin: center;
}

.shot-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 9, 12, 0.76);
    backdrop-filter: blur(18px);
}

.shot-caption span {
    color: var(--ember-2);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.shot-caption strong {
    color: var(--text);
    font-size: 0.92rem;
    text-align: right;
}

.marquee {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.marquee div {
    min-height: 150px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
}

.marquee strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.marquee span,
.feature-card p {
    color: var(--muted);
}

.split-section,
.showcase-row {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
    align-items: center;
    gap: 56px;
    padding: 110px 0;
}

.sticky-copy {
    align-self: start;
    position: sticky;
    top: 120px;
}

.text-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

.center-copy {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.feature-card,
.technology-teaser,
.download-cta {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}

.feature-card {
    min-height: 230px;
    padding: 24px;
}

.feature-number {
    display: inline-flex;
    margin-bottom: 36px;
    color: var(--ember-2);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 2.4rem;
    font-style: italic;
}

.showcase-stack {
    padding: 50px 0 30px;
}

.showcase-row {
    width: 100%;
    margin: 0;
    padding: 70px 0;
}

.showcase-row.reverse {
    grid-template-columns: minmax(420px, 1.25fr) minmax(280px, 0.75fr);
}

.showcase-row.reverse .section-copy {
    order: 2;
}

.technology-teaser {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
    gap: 28px;
    align-items: center;
    padding: 36px;
    margin-top: 70px;
}

.technology-teaser h2,
.download-cta h2 {
    margin-bottom: 0;
}

.tech-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.download-cta {
    margin-top: 92px;
    margin-bottom: 72px;
    padding: 52px;
    text-align: center;
}

.download-cta p {
    max-width: 720px;
    margin: 0 auto 24px;
}

.download-cta .hero-actions {
    justify-content: center;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: center;
    padding: 28px 0 42px;
    color: var(--dim);
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.section-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
}

.screenshot-lightbox[hidden] {
    display: none;
}

.lightbox-image {
    max-width: min(1180px, 94vw);
    max-height: 86vh;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .site-header {
        position: static;
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
    }

    .site-nav {
        flex-wrap: wrap;
    }

    .hero,
    .split-section,
    .showcase-row,
    .showcase-row.reverse,
    .technology-teaser {
        grid-template-columns: 1fr;
    }

    .showcase-row.reverse .section-copy {
        order: 0;
    }

    .sticky-copy {
        position: static;
    }

    .workflow-grid,
    .marquee {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    section,
    .site-footer,
    .site-header {
        width: min(100% - 22px, var(--max));
    }

    .hero {
        min-height: auto;
        padding: 48px 0;
    }

    h1 {
        font-size: clamp(2.6rem, 16vw, 4.2rem);
    }

    .split-section,
    .showcase-row {
        padding: 58px 0;
    }

    .feature-card,
    .technology-teaser,
    .download-cta {
        padding: 24px;
    }

    .shot-caption {
        position: static;
        margin: 10px;
    }
}
