: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;
    --green: #22c55e;
    --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.22), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(125, 183, 255, 0.18), 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%;
}

figure {
    margin: 0;
}

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;
}

.brand-word {
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.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,
.site-nav a[aria-current="page"] {
    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: 590px;
    margin-bottom: 22px;
    font-size: clamp(3.15rem, 5.25vw, 5.65rem);
}

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.2rem, 3.85vw, 4.05rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.hero-lede,
.section-copy p,
.center-copy p,
.download-cta p,
.tech-hero p {
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-lede {
    max-width: 580px;
    margin-bottom: 28px;
}

.hero-actions,
.download-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: 28px;
}

.hero-proof span,
.tech-pill-grid span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.055);
}

.product-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1500 / 1040;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 28%),
        rgba(8, 9, 12, 0.92);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
    transform-style: preserve-3d;
    transition: transform 220ms ease, border-color 220ms ease;
}

.product-frame:focus-visible {
    outline: 3px solid rgba(255, 209, 102, 0.72);
    outline-offset: 5px;
}

.product-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 22%, transparent 75%, rgba(255, 107, 53, 0.18));
    mix-blend-mode: screen;
}

.product-frame:hover {
    border-color: rgba(255, 209, 102, 0.38);
}

.hero-frame {
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
}

.screenshot-frame,
.screenshot-card {
    display: block;
    aspect-ratio: auto;
}

.screenshot-frame img,
.screenshot-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    object-fit: cover;
    object-position: center;
}

.screenshot-frame::before,
.screenshot-card::before {
    bottom: auto;
    height: calc(100% - 74px);
}

.shot-caption {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4px;
    margin: 0;
    max-width: none;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 9, 12, 0.88);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(1.2);
}

.shot-caption span {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shot-caption strong {
    font-size: 0.98rem;
    line-height: 1.35;
}

.marquee {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--line);
}

.marquee div {
    padding: 28px;
    background: rgba(255, 255, 255, 0.055);
}

.marquee strong,
.marquee span {
    display: block;
}

.marquee strong {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.marquee span {
    color: var(--muted);
}

.split-section,
.showcase-row,
.tech-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.05fr);
    gap: 42px;
    align-items: center;
    padding: 130px 0 0;
}

.sticky-copy {
    align-self: start;
    position: sticky;
    top: 120px;
}

.section-copy p {
    max-width: 540px;
}

.text-link {
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

.source-showcase {
    display: grid;
    gap: 16px;
}

.source-card {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 35%),
        rgba(255, 255, 255, 0.06);
}

.source-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -70px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.26), transparent 68%);
}

.source-number {
    color: var(--gold);
    font-weight: 800;
}

.source-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.workflow-frame {
    min-height: 420px;
}

.controls-section {
    padding: 130px 0 0;
}

.center-copy {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--line);
}

.control-grid article {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    padding: 26px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.045);
}

.control-grid span {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.control-grid strong {
    font-size: 1.1rem;
    line-height: 1.35;
}

.tech-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
    min-height: 260px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 209, 102, 0.16), transparent 15rem),
        rgba(255, 255, 255, 0.055);
}

.virtual-display-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 107, 53, 0.22), transparent 16rem),
        radial-gradient(circle at 82% 72%, rgba(125, 183, 255, 0.18), transparent 18rem),
        rgba(255, 255, 255, 0.055);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.virtual-display-panel article {
    display: grid;
    gap: 7px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
}

.virtual-display-panel span {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.virtual-display-panel strong {
    font-size: 1.08rem;
    line-height: 1.35;
}

.download-cta {
    margin-top: 130px;
    padding: 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 107, 53, 0.26), transparent 18rem),
        radial-gradient(circle at 82% 42%, rgba(125, 183, 255, 0.18), transparent 20rem),
        rgba(255, 255, 255, 0.065);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.download-cta h2 {
    max-width: 720px;
}

.download-cta p {
    max-width: 680px;
}

.download-cta code {
    display: inline-flex;
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.28);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 0 46px;
    color: var(--dim);
}

.section-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .section-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        border-radius: 28px;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .hero,
    .split-section,
    .showcase-row,
    .tech-hero {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 54px;
    }

    .hero-frame {
        transform: none;
    }

    .sticky-copy {
        position: static;
    }

    .marquee,
    .control-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    section,
    .site-footer,
    .site-header {
        width: min(100% - 24px, var(--max));
    }

    .site-header {
        top: 10px;
        margin-top: 10px;
        padding: 10px;
    }

    .brand {
        padding-left: 2px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
    }

    .site-nav a {
        padding: 9px 8px;
        text-align: center;
        font-size: 0.82rem;
    }

    .site-nav .nav-cta {
        grid-column: span 3;
    }

    h1 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    .hero {
        gap: 32px;
        padding-top: 42px;
    }

    .hero-actions,
    .download-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .product-frame {
        border-radius: 22px;
        min-height: 0;
        aspect-ratio: auto;
    }

    .screenshot-frame,
    .screenshot-card {
        display: block;
    }

    .screenshot-frame img,
    .screenshot-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        object-position: center;
    }

    .shot-caption {
        display: grid;
        margin: 0;
        max-width: none;
        border-width: 0;
        border-radius: 0;
        background: rgba(8, 9, 12, 0.88);
        box-shadow: none;
    }

    .shot-caption strong {
        font-size: 0.92rem;
    }

    .marquee,
    .control-grid {
        grid-template-columns: 1fr;
    }

    .split-section,
    .showcase-row,
    .tech-hero,
    .controls-section {
        padding-top: 86px;
    }

    .download-cta {
        margin-top: 86px;
        padding: 30px;
    }

    .download-cta code {
        width: 100%;
        overflow-x: auto;
        border-radius: 18px;
        white-space: nowrap;
    }

    .site-footer {
        flex-direction: column;
    }
}
