@import url("./mix-tokens.css");

@property --stumble-scale {
    syntax: "<number>";
    inherits: true;
    initial-value: 0.22;
}

@keyframes stumble {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform:
            translate(
                calc(var(--stumble-x1, 2px) * var(--stumble-scale, 0.16)),
                calc(var(--stumble-y1, -3px) * var(--stumble-scale, 0.16))
            )
            rotate(calc(var(--stumble-r1, 2deg) * var(--stumble-scale, 0.16)));
    }

    50% {
        transform:
            translate(
                calc(var(--stumble-x2, -3px) * var(--stumble-scale, 0.16)),
                calc(var(--stumble-y2, 2px) * var(--stumble-scale, 0.16))
            )
            rotate(calc(var(--stumble-r2, -3deg) * var(--stumble-scale, 0.16)));
    }

    75% {
        transform:
            translate(
                calc(var(--stumble-x3, 1px) * var(--stumble-scale, 0.16)),
                calc(var(--stumble-y3, -2px) * var(--stumble-scale, 0.16))
            )
            rotate(calc(var(--stumble-r3, 1deg) * var(--stumble-scale, 0.16)));
    }
}

:root {
    /* Landing page uses structure font for both display and body */
    --font-display: var(--font-structure);

    /* Landing-specific spacing (wider density) */
    --mix-density: 1.1;

    /* SUE-345: shared footprint for the landing CTAs. */
    --cta-height: 56px;
    --cta-width: 168px;
}

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

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font-structure);
    font-size: 16px;
    line-height: var(--leading-normal);
    color: var(--mix-ink);
    background: var(--mix-canvas);
}

a {
    color: inherit;
}

/* ─── Landing page shell ─── */

.landing-page {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: #1E212A;
}

/* Keep the fixed hero on desktop; allow native scrolling whenever the landing
   content exceeds a phone-width or short viewport. */
@media (max-width: 720px), (max-height: 560px) {
    .landing-page {
        overflow-y: auto;
    }
}

.landing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(85, 84, 198, 0.07) 0%, transparent 60%),
        linear-gradient(
            180deg,
            rgba(10, 10, 15, 0.1) 0%,
            rgba(10, 10, 15, 0.18) 30%,
            rgba(10, 10, 15, 0.36) 60%,
            rgba(10, 10, 15, 0.64) 100%
        );
}

/* ─── Background video ─── */

.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: -2;
    overflow: hidden;
    background: #1E212A;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Layout grid ─── */

.page-shell {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: clamp(24px, 5vw, 56px);
    padding: clamp(24px, 4vw, 48px);
    padding-bottom: calc(clamp(24px, 4vw, 48px) + env(safe-area-inset-bottom));
}

/* ─── Logo / hero ─── */

.logo-link {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.mix-wordmark {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    --stumble-scale: 0.22;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.4));
    transition:
        filter 260ms cubic-bezier(0.22, 1, 0.36, 1),
        --stumble-scale 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mix-wordmark-layer {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    position: absolute;
    inset: 0 auto auto 0;
    --mix-logo-fill: #0f1014;
    --mix-logo-stroke: rgba(255, 255, 255, 0.84);
    --mix-logo-shadow: rgba(255, 255, 255, 0.84);
}

.mix-wordmark-layer-front {
    position: relative;
    inset: auto;
    opacity: 1;
}

.mix-wordmark-layer-1 {
    transform: translate(-4.5px, -1.3px);
    opacity: 1;
    --mix-logo-fill: rgba(85, 84, 198, 0.25);
    --mix-logo-stroke: rgba(255, 255, 255, 0.75);
    --mix-logo-shadow: rgba(255, 255, 255, 0.75);
}

.mix-wordmark-layer-2 {
    transform: translate(-9px, -2.6px);
    opacity: 1;
    --mix-logo-fill: rgba(85, 84, 198, 0.18);
    --mix-logo-stroke: rgba(255, 255, 255, 0.55);
    --mix-logo-shadow: rgba(255, 255, 255, 0.55);
}

.mix-wordmark-layer-3 {
    transform: translate(-13.5px, -3.9px);
    opacity: 1;
    --mix-logo-fill: rgba(85, 84, 198, 0.12);
    --mix-logo-stroke: rgba(255, 255, 255, 0.35);
    --mix-logo-shadow: rgba(255, 255, 255, 0.35);
}

.mix-wordmark-letter {
    display: inline-block;
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 0.8;
    color: var(--mix-logo-fill);
    -webkit-text-stroke: 1.6px var(--mix-logo-stroke);
    paint-order: stroke fill;
    text-shadow:
        -1px 0 var(--mix-logo-shadow),
        1px 0 var(--mix-logo-shadow),
        0 -1px var(--mix-logo-shadow),
        0 1px var(--mix-logo-shadow);
    transform-origin: center 72%;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mix-wordmark-letter-m {
    font-size: clamp(9.6rem, 18vw, 14rem);
    z-index: 3;
}

.mix-wordmark-letter-i {
    font-size: clamp(8rem, 14.8vw, 11.8rem);
    z-index: 2;
}

.mix-wordmark-letter-x {
    font-size: clamp(8.9rem, 16.4vw, 13rem);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 2.8vw, 24px);
}

.delta-v-video-page .page-shell {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: clamp(16px, 3vw, 32px);
    padding-block: clamp(16px, 2vw, 24px);
}

.delta-v-video-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.delta-v-video-stack {
    width: min(1100px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
}

.delta-v-logo {
    z-index: 10;
}

.delta-v-video-page .delta-v-logo .mix-wordmark,
.delta-v-page .delta-v-logo .mix-wordmark {
    --stumble-scale: 0.12;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.delta-v-video-page .delta-v-logo .mix-wordmark-letter-m,
.delta-v-page .delta-v-logo .mix-wordmark-letter-m {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.delta-v-video-page .delta-v-logo .mix-wordmark-letter-i,
.delta-v-page .delta-v-logo .mix-wordmark-letter-i {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.delta-v-video-page .delta-v-logo .mix-wordmark-letter-x,
.delta-v-page .delta-v-logo .mix-wordmark-letter-x {
    font-size: clamp(1.9rem, 3.1vw, 2.6rem);
}

.delta-v-video-page .delta-v-logo .mix-wordmark-layer-1,
.delta-v-page .delta-v-logo .mix-wordmark-layer-1 {
    transform: translate(-2px, -0.6px);
}

.delta-v-video-page .delta-v-logo .mix-wordmark-layer-2,
.delta-v-page .delta-v-logo .mix-wordmark-layer-2 {
    transform: translate(-4px, -1.2px);
}

.delta-v-video-page .delta-v-logo .mix-wordmark-layer-3,
.delta-v-page .delta-v-logo .mix-wordmark-layer-3 {
    transform: translate(-6px, -1.8px);
}

.video-embed-shell {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: rgba(8, 8, 12, 0.62);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.video-embed-shell iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.delta-v-video-page .page-footer {
    display: flex;
    justify-content: center;
}

.delta-v-video-page .page-footer .cta-group {
    gap: 8px;
}

.delta-v-video-page .app-store-badge {
    width: min(176px, 44vw);
}

/* ─── Delta V page ─── */

.delta-v-page {
    overflow: visible;
    overflow-x: hidden;
}

.delta-v-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 16px);
    padding: clamp(16px, 2vw, 24px);
}

.delta-v-header .delta-v-logo {
    position: relative;
    top: auto;
    left: auto;
}

.delta-v-header-sep {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
}

.delta-v-partner-link {
    display: inline-flex;
    text-decoration: none;
}

.delta-v-partner-badge {
    height: clamp(28px, 3.5vw, 42px);
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.delta-v-partner-badge:hover {
    opacity: 1;
}

.delta-v-main {
    position: relative;
    z-index: 1;
    padding-top: clamp(90px, 12vw, 140px);
    padding-bottom: clamp(24px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(72px, 10vw, 128px);
}

.delta-v-section {
    width: min(1100px, calc(100% - 48px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 4vw, 40px);
}

.delta-v-section-title {
    display: inline-block;
    padding: 0.42em 0.9em;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 6, 12, 0.7);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.44),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.42));
    backdrop-filter: blur(14px);
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(16px, 2.5vw, 32px);
}

.phone-frame {
    width: clamp(160px, 22vw, 260px);
    border-radius: 24px;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(8, 8, 12, 0.62);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.phone-frame-center {
    transform: scale(1.08);
    z-index: 1;
}

.phone-frame:hover {
    transform: translateY(-6px);
    box-shadow:
        0 36px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-frame-center:hover {
    transform: scale(1.08) translateY(-6px);
}

.dashboard-showcase {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 32px);
}

.dashboard-frame {
    width: min(640px, 100%);
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(8, 8, 12, 0.62);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-frame:hover {
    transform: translateY(-6px);
    box-shadow:
        0 36px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.ingestion-carousel {
    width: min(960px, 100%);
}

.ingestion-carousel-frame {
    width: min(960px, 100%);
    margin: 0;
    cursor: default;
}

.ingestion-carousel-frame:hover {
    transform: none;
}

.ingestion-carousel-stage {
    position: relative;
    aspect-ratio: 1600 / 911;
    overflow: hidden;
}

.ingestion-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.ingestion-carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.ingestion-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingestion-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(6, 6, 12, 0.72);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    transform: translateY(-50%);
}

.ingestion-carousel-nav:hover {
    transform: translateY(calc(-50% - 2px));
    background: rgba(12, 12, 20, 0.8);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ingestion-carousel-prev {
    left: 18px;
}

.ingestion-carousel-next {
    right: 18px;
}

.ingestion-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0 2px;
}

.ingestion-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ingestion-carousel-dot.active {
    transform: scale(1.2);
    background: #fff;
}

.ingestion-carousel:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 8px;
}

.delta-v-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.delta-v-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-action);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--mix-brand);
    border: none;
    border-radius: var(--radius-xl);
    text-decoration: none;
    box-shadow: var(--shadow-brand);
    transition: transform var(--duration-normal) ease, box-shadow var(--duration-normal) ease, background var(--duration-normal) ease;
}

.delta-v-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 50px rgba(85, 84, 198, 0.45);
    background: var(--mix-brand-deep);
}

.delta-v-subtitle {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.5;
    max-width: 42ch;
}

.delta-v-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: clamp(24px, 4vw, 48px);
    padding-bottom: calc(clamp(24px, 4vw, 48px) + env(safe-area-inset-bottom));
}

.delta-v-footer .app-store-badge {
    width: min(176px, 44vw);
}

/* ─── Lightbox ─── */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-height: 88vh;
    max-width: 44vh;
    width: auto;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
    transition: opacity 0.25s ease;
}

.lightbox-close {
    position: absolute;
    top: clamp(16px, 2vw, 28px);
    right: clamp(16px, 2vw, 28px);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 2.4rem;
    cursor: pointer;
    padding: 16px;
    line-height: 1;
    transition: color 0.2s ease;
    user-select: none;
}

.lightbox-nav:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-prev {
    left: clamp(12px, 3vw, 40px);
}

.lightbox-next {
    right: clamp(12px, 3vw, 40px);
}

.lightbox-counter {
    position: absolute;
    bottom: clamp(16px, 3vw, 32px);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
}

.hero-headline {
    max-width: 13ch;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.2rem, 6.8vw, 6.1rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-wrap: balance;
    color: #fff;
    --stumble-scale: 0.22;
    padding: 0.12em 0.08em 0.18em;
    margin: -0.12em -0.08em -0.18em;
    -webkit-text-stroke: 0.22px rgba(255, 255, 255, 0.92);
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    transition:
        filter 260ms cubic-bezier(0.22, 1, 0.36, 1),
        --stumble-scale 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-headline[data-hover-processed="true"] {
    opacity: 1;
}

.hero-subhead {
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-action);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    text-wrap: balance;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.word {
    display: inline-block;
    white-space: nowrap;
    padding: 0.04em 0.03em 0.08em;
    margin: -0.04em -0.03em -0.08em;
}

.hero-headline span:not(.space):not(.word) {
    display: inline-block;
    transform-origin: center 72%;
    text-shadow:
        0 0 0.6px rgba(255, 255, 255, 0.92),
        0 10px 28px rgba(0, 0, 0, 0.16);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.space {
    display: inline-block;
    width: 0.3em;
}

.mix-wordmark .mix-wordmark-letter,
.hero-headline span:not(.space):not(.word) {
    animation: stumble var(--stumble-duration, 2.5s) ease-in-out infinite;
    animation-delay: var(--stumble-delay, 0s);
}

.mix-wordmark.hover-active,
.hero-headline.hover-active {
    --stumble-scale: 0.92;
    filter: brightness(1.05);
}

/* ─── Footer ─── */

/* SUE-345 follow-up: the footer is only the quiet legal row. Primary actions
   live with the hero copy so Privacy/Terms never crowd the buttons. */
.page-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

/* SUE-227/SUE-345: the landing CTAs read as equal-weight peers. Row on
   desktop, stacked on mobile (see media query). */
.cta-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(28px, 5vw, 48px);
}

.hero-cta-group {
    margin-top: clamp(20px, 4vh, 44px);
}

.cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--cta-width);
    gap: 10px;
}

.cta-caption {
    /* SUE-227 review: opacity + shadow keep these AA-legible over bright
       background-video frames — they are the only label distinguishing the
       two equal-weight CTAs. */
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    font-family: var(--font-action);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

/* SUE-345: both CTAs share one fixed visual footprint so the landing actions
   read as an intentional pair. The App Store badge keeps its native aspect. */
.app-store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--cta-width);
    height: var(--cta-height);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}

.app-store-badge {
    display: block;
    height: 100%;
    width: auto;
}

/* SUE-54: the landing's second CTA — the web map. SUE-227: promoted to an
   equal-weight peer of the App Store badge (same item width, comparable height,
   glassy fill) so the two actions are distinct and balanced, not confused. */
.preview-experiences-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--cta-width);
    height: var(--cta-height);
    padding: 0 12px;
    white-space: nowrap;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: var(--font-action);
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.preview-experiences-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
}

.android-waitlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #fff;
    font-family: var(--font-action);
}

.android-waitlist > label {
    font-size: 0.86rem;
    font-weight: 700;
}

.android-waitlist-fields {
    display: flex;
    gap: 8px;
}

.android-waitlist-fields input,
.android-waitlist-fields button {
    min-height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    font: inherit;
}

.android-waitlist-fields input {
    width: min(58vw, 240px);
    padding: 0 12px;
}

.android-waitlist-fields button {
    padding: 0 16px;
    background: #5554c6;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.android-waitlist-fields button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.android-waitlist-note,
.android-waitlist-status {
    min-height: 1em;
    margin: 0;
    font-size: 0.68rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.availability-copy {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-action);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

/* ─── Creator waitlist ─── */

.creator-page {
    min-height: 100dvh;
    color: #fff;
    background: #0a0a0f;
    isolation: isolate;
}

.creator-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, rgba(8, 8, 12, 0.94) 10%, rgba(8, 8, 12, 0.7) 58%, rgba(8, 8, 12, 0.48));
}

.creator-header {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: clamp(24px, 4vw, 48px);
}

.creator-header .mix-wordmark {
    --stumble-scale: 0.14;
}

.creator-header .mix-wordmark-letter-m {
    font-size: 4.8rem;
}

.creator-header .mix-wordmark-letter-i {
    font-size: 4rem;
}

.creator-header .mix-wordmark-letter-x {
    font-size: 4.4rem;
}

.creator-header .mix-wordmark-layer-1 {
    transform: translate(-3px, -0.9px);
}

.creator-header .mix-wordmark-layer-2 {
    transform: translate(-6px, -1.8px);
}

.creator-header .mix-wordmark-layer-3 {
    transform: translate(-9px, -2.7px);
}

.creator-main {
    width: min(1200px, calc(100% - 48px));
    min-height: 0;
    margin: 0 auto;
    padding: clamp(64px, 12vh, 128px) 0 clamp(48px, 8vh, 96px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: clamp(48px, 9vw, 120px);
}

.creator-copy {
    max-width: 720px;
}

.creator-copy h1 {
    max-width: 14ch;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 6vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 0.96;
    text-wrap: balance;
}

.creator-explanation {
    max-width: 62ch;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-action);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.5;
}

.creator-signup {
    display: grid;
    justify-items: center;
    gap: 32px;
}

.creator-form {
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(10, 10, 15, 0.66);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
}

.creator-field {
    display: grid;
    gap: 8px;
}

.creator-honeypot,
.waitlist-honeypot {
    position: absolute;
    left: -10000px;
}

.creator-field label {
    font-family: var(--font-action);
    font-size: 0.82rem;
    font-weight: 700;
}

.creator-field label span {
    color: rgba(255, 255, 255, 0.54);
    font-weight: 500;
}

.creator-field input,
.creator-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: 500 1rem/1.4 var(--font-action);
}

.creator-field textarea {
    min-height: 88px;
    resize: vertical;
}

.creator-field input:focus-visible,
.creator-field textarea:focus-visible,
.creator-form button:focus-visible,
.creator-logo-link:focus-visible,
.preview-experiences-button:focus-visible,
.app-store-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.creator-form button {
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    background: var(--mix-action);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-action);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease;
}

.creator-form button:hover {
    transform: translateY(-2px);
    background: #eb5410;
}

.creator-form button:active {
    transform: translateY(0);
}

.creator-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.creator-form-note,
.creator-form-status {
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-action);
    font-size: 0.76rem;
    line-height: 1.45;
}

.creator-form-status:empty {
    display: none;
}

.creator-form-status[data-state="success"] {
    color: #9ee2c4;
}

.creator-form-status[data-state="error"] {
    color: #ffb2a9;
}

@media (max-width: 820px) {
    .creator-main {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 48px;
        padding-top: 64px;
    }

    .creator-copy h1 {
        font-size: clamp(3rem, 13vw, 5.4rem);
    }
}

@media (max-width: 520px) {
    .creator-header,
    .creator-main {
        width: min(100% - 32px, 1200px);
    }

    .creator-main {
        min-height: auto;
        padding: 56px 0 40px;
        gap: 40px;
    }

    .creator-copy h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .creator-explanation {
        margin-top: 24px;
    }

    .creator-form {
        padding: 24px;
    }

}

/* ─── Mobile ─── */

@media (max-width: 720px) {
    .page-shell {
        gap: 20px;
    }

    .landing-page .page-shell {
        padding-bottom: calc(7rem + env(safe-area-inset-bottom));
    }

    .delta-v-video-page .page-shell {
        padding-inline: 18px;
        padding-block: 18px;
    }

    .mix-wordmark-letter {
        -webkit-text-stroke: 1.25px rgba(255, 255, 255, 0.84);
        text-shadow:
            -1px 0 rgba(255, 255, 255, 0.84),
            1px 0 rgba(255, 255, 255, 0.84),
            0 -1px rgba(255, 255, 255, 0.84),
            0 1px rgba(255, 255, 255, 0.84);
    }

    .mix-wordmark-layer-1 {
        transform: translate(-3.4px, -1px);
    }

    .mix-wordmark-layer-2 {
        transform: translate(-6.8px, -2px);
    }

    .mix-wordmark-layer-3 {
        transform: translate(-10.2px, -3px);
    }

    .mix-wordmark-letter-m {
        font-size: clamp(7.6rem, 32vw, 10.4rem);
    }

    .mix-wordmark-letter-i {
        font-size: clamp(6.3rem, 26vw, 8.7rem);
    }

    .mix-wordmark-letter-x {
        font-size: clamp(7rem, 29.2vw, 9.6rem);
    }

    .hero-headline {
        max-width: 12ch;
        font-size: clamp(2.7rem, 13.8vw, 4.5rem);
    }

    .video-embed-shell {
        border-radius: 12px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-cta-group {
        margin-top: clamp(24px, 5vh, 42px);
    }

    /* Delta V page mobile */

    .delta-v-header {
        padding: 14px 16px;
        gap: 8px;
    }

    .delta-v-header .delta-v-logo .mix-wordmark-letter-m {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .delta-v-header .delta-v-logo .mix-wordmark-letter-i {
        font-size: clamp(1.3rem, 6.4vw, 1.8rem);
    }

    .delta-v-header .delta-v-logo .mix-wordmark-letter-x {
        font-size: clamp(1.5rem, 7.2vw, 2rem);
    }

    .delta-v-header .delta-v-logo .mix-wordmark-layer-1 {
        transform: translate(-1.5px, -0.4px);
    }

    .delta-v-header .delta-v-logo .mix-wordmark-layer-2 {
        transform: translate(-3px, -0.8px);
    }

    .delta-v-header .delta-v-logo .mix-wordmark-layer-3 {
        transform: translate(-4.5px, -1.2px);
    }

    .delta-v-partner-badge {
        height: clamp(20px, 6vw, 30px);
    }

    .phone-showcase {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .phone-frame {
        width: min(260px, 70vw);
    }

    .phone-frame-center {
        transform: none;
    }

    .phone-frame-center:hover {
        transform: translateY(-6px);
    }

    .dashboard-showcase {
        flex-direction: column;
        align-items: center;
    }

    .ingestion-carousel-nav {
        display: none;
    }

    .placeholder-frame {
        width: min(340px, 85vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mix-wordmark.hover-active .mix-wordmark-letter,
    .hero-headline.hover-active span:not(.space):not(.word) {
        animation: none !important;
    }

    .mix-wordmark-letter,
    .hero-headline span:not(.space):not(.word) {
        transform: none !important;
    }
}
