/* ===== Xmax AI clone — design tokens ===== */
:root {
    --brand: #4d3dde;
    --brand2: #8d7cff;
    --ink: #f7f7fb;
    --text-white: #fff;
    --text-secondary: #ffffffd1;
    --text-body: #ffffff80;
    --text-body-dim: #ffffff70;
    --text-accent: #9d90fe;
    --muted: #777785;
    --panel: #0a0912;
    --panel2: #07060c;
    --bg: #030306;
    --line: rgba(255, 255, 255, 0.12);
    --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 78px;
    --page-pad: clamp(24px, 5vw, 96px);
}

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

html { scroll-behavior: smooth; font-size: 16px; }
@media (min-width: 62.5rem) { html { font-size: clamp(12px, .833333vw, 18px); } }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--page-pad);
    background: rgba(3, 3, 6, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header .logo img { height: 31px; width: auto; }
.header-right {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    color: var(--ink);
}
.header-right a { opacity: .9; }
.header-right a:hover { opacity: 1; text-shadow: 0 0 12px rgba(141,124,255,.5); }
.region-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
}
.region-pill img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 3rem) var(--page-pad) 6rem;
    overflow: hidden;
}
.hero .hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.hero .hero-bg, .hero .hero-bg-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    transform: scale(1.05);
}
.hero .hero-bg-fallback {
    background-position: center;
    background-size: cover;
}
.hero .hero-video-el {
    z-index: 1;
}
.hero .hero-poster, .hero .hero-bg-fallback {
    transition: opacity .9s ease;
}
.hero.is-ready .hero-poster, .hero.is-ready .hero-bg-fallback {
    opacity: 0;
}
.hero-copy {
    position: relative;
    z-index: 2;
    text-align: left;
    contain: layout style;
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: .6875rem;
    color: var(--muted);
    letter-spacing: .24em;
    text-transform: uppercase;
    font-size: .875rem;
    font-weight: 450;
    margin-bottom: 1.75rem;
}
.eyebrow::before {
    content: "";
    background: currentColor;
    width: .8125rem;
    height: .0625rem;
}
.eyebrow.eyeborw-top {
    color: #fff;
    letter-spacing: .125rem;
    gap: 0;
    margin-bottom: 0;
    font-size: .625rem;
    font-weight: 300;
    line-height: .83438rem;
}
.eyebrow.eyeborw-top::before {
    width: .5rem;
    margin-right: 0;
}
.hero-title {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: normal;
    text-align: left;
    margin: 0;
    padding: 0;
}
.hero-title .solid {
    display: block;
    font-size: 5.625rem;
    line-height: 5.625rem;
    margin-bottom: 2.5rem;
}
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .08em;
}
.mouse-icon {
    width: 2.5rem;
    height: 3.75rem;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 1.25rem;
    background: rgba(255,255,255,.05);
    position: relative;
}
.mouse-icon::after {
    content: "";
    position: absolute;
    top: .85rem; left: 50%;
    width: 2px; height: .85rem;
    transform: translateX(-50%);
    background: rgba(255,255,255,.7);
    border-radius: 2px;
    animation: wheelScroll 1.6s ease-in-out infinite;
}
@keyframes wheelScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    70%, 100% { transform: translate(-50%, 1rem); opacity: 0; }
}

/* ===== Vision ===== */
.vision {
    box-sizing: border-box;
    min-height: 100dvh;
    padding: 14.0625rem var(--page-pad) 7.5rem;
    background: #000;
    align-items: center;
    display: flex;
    position: relative;
    overflow: hidden;
}
.vision::after {
    content: "";
    background: #f7f7fb;
    border-radius: 50%;
    width: .25rem;
    height: .25rem;
    position: absolute;
    top: 46%;
    right: 13.8%;
    box-shadow: 0 0 .875rem .25rem rgba(255,255,255,.3);
}
.vision-core {
    width: 26vw;
    height: 26vw;
    transform: translate3d(0, -50%, 0) rotate(calc(var(--vision-pn, 0) * 110deg)) scale(calc(.86 + var(--vision-pn, 0) * .22));
    box-shadow: 0 0 calc(3.75rem + var(--vision-pn, 0) * 5rem) rgba(83,72,255,.18), inset 0 0 calc(2.5rem + var(--vision-pn, 0) * 3.75rem) rgba(89,72,255,.12);
    pointer-events: none;
    will-change: transform;
    border: .5px solid rgba(122,105,255,.16);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 10vw;
}
.vision-core::before, .vision-core::after {
    content: "";
    border: .5px solid rgba(92,219,255,.13);
    border-radius: 50%;
    position: absolute;
}
.vision-core::before { inset: 13%; }
.vision-core::after {
    border: .5px solid rgba(92,219,255,.13);
    inset: 29%;
    box-shadow: 0 0 2.5rem rgba(94,84,255,.35);
}
.vision-core i {
    background: #f7f7fb;
    will-change: transform;
    border-radius: 50%;
    width: .4375rem;
    height: .4375rem;
    margin: -.21875rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0, 0);
    box-shadow: 0 0 1.125rem #7867ff;
}
.vision-inner {
    z-index: 2;
    width: 100%;
    position: relative;
}
.vision-text {
    font-family: var(--font-display);
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 5rem;
    display: flex;
}
.vision-text .vision-line {
    align-items: center;
    gap: 1.125rem;
    display: flex;
}
.vision-text .vision-marker {
    background: #ffffff38;
    border-radius: 50%;
    flex: 0 0 .625rem;
    align-self: center;
    width: .625rem;
    height: .625rem;
    transition: background .28s, box-shadow .28s;
}
.vision-text .vision-marker.is-spacer { visibility: hidden; }
.vision-text .vision-line.has-marker.lit > .vision-marker:not(.is-spacer) {
    background: #f7f7fb;
    box-shadow: 0 0 1.75rem rgba(129,112,255,.11);
}
.vision-line-text { flex: 1; min-width: 0; }
.vision-seg { display: inline; }
.vision-token {
    color: #ffffff38;
    transition: color .28s, text-shadow .28s;
}
.vision-token.lit {
    color: #f7f7fb;
    text-shadow: 0 0 1.75rem rgba(129,112,255,.11);
}
.vision-token.accent { color: #7668f3; }
.vision-progress {
    background: #ffffff1f;
    width: min(41.25rem, 68vw);
    height: .0625rem;
    margin-top: 3.125rem;
    position: relative;
}
.vision-progress i {
    width: var(--vision-p, 0%);
    background: linear-gradient(90deg, #8b7dff, #4d3dde);
    position: absolute;
    inset: 0 auto 0 0;
    box-shadow: 0 0 .75rem #5f51ee;
}

/* ===== Section shell ===== */
.section { padding: clamp(5rem, 10vw, 9rem) var(--page-pad); position: relative; }

/* ===== Models ===== */
.models {
    padding: 9.6875rem var(--page-pad);
    flex-direction: column;
    gap: 9.6875rem;
    display: flex;
    position: relative;
}
.model-section {
    --copy-t: 0;
    --media-reveal: 0;
    grid-template-columns: minmax(0, 555fr) minmax(0, 929fr);
    align-items: center;
    gap: clamp(2.5rem, 5.2vw, 6.25rem);
    width: 100%;
    min-height: auto;
    padding: 0;
    display: grid;
    position: relative;
    overflow: visible;
}
.model-section.in { --copy-t: 1; --media-reveal: 1; }
.model-section.reverse { grid-template-columns: minmax(0, 929fr) minmax(0, 555fr); }
.model-section.reverse .model-media { grid-area: 1/1; }
.model-section.reverse .model-copy { grid-area: 1/2; }

.model-copy {
    z-index: 2;
    --model-optical-ratio: .05;
    width: auto;
    min-width: 0;
    position: relative;
}
.model-copy > * {
    opacity: calc(.72 + var(--copy-t) * .28);
    transform: translate3d(0, calc((1 - var(--copy-t)) * 3.25rem), 0);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.model-kicker {
    color: color-mix(in srgb, var(--text-accent) calc(var(--copy-t) * 100%), #9d90fe29);
    letter-spacing: .17em;
    text-transform: none;
    margin-bottom: 3.5rem;
    font-family: Rubik;
    font-size: .875rem;
    font-weight: 500;
}
.model-title {
    --title-lh-from: 13.75rem;
    --title-lh-to: 6.5625rem;
    margin: 0;
    margin-left: calc(-1 * var(--model-optical-ratio) * 1em);
    color: color-mix(in srgb, #fff calc(var(--copy-t) * 100%), #ffffff1a);
    font-family: var(--font-display);
    font-size: 6.25rem;
    font-weight: 700;
    line-height: calc(var(--title-lh-from) - (var(--title-lh-from) - var(--title-lh-to)) * var(--copy-t));
    letter-spacing: -.3125rem;
    text-align: left;
    padding: 0;
}
.model-title .outline { font-family: var(--font-display); font-style: normal; font-weight: 600; display: block; }
.model-title .outline-line { display: block; }
.model-desc {
    max-width: 39.9375rem;
    color: color-mix(in srgb, var(--text-body) calc(var(--copy-t) * 100%), #ffffff1a);
    font-family: var(--font-display);
    margin: 2rem 0 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75rem;
}
.cta-button {
    border: .5px solid color-mix(in srgb, #ffffff80 calc(var(--copy-t) * 100%), #ffffff14);
    color: color-mix(in srgb, var(--text-secondary) calc(var(--copy-t) * 100%), #ffffff1f);
    background: color-mix(in srgb, #ffffff0d calc(var(--copy-t) * 100%), #ffffff03);
    -webkit-backdrop-filter: blur(.3125rem);
    letter-spacing: .13em;
    text-transform: uppercase;
    border-radius: 624.938rem;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: .75rem .75rem .75rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    transition: color .3s, background .3s, box-shadow .3s;
    display: inline-flex;
    overflow: hidden;
}
.cta-button span {
    background: var(--text-white);
    border-radius: 50%;
    flex-shrink: 0;
    place-items: center;
    min-width: 2.25rem;
    height: 2.25rem;
    transition: all .35s;
    display: grid;
}
.cta-button:hover { color: #06060a; background: var(--text-white); box-shadow: 0 0 2.8125rem rgba(106,86,255,.35); }
.cta-button:hover span { background: #968bff; transform: rotate(45deg); }
.cta-button-icon { width: .625rem; height: auto; display: block; }

.model-media {
    perspective: 81.25rem;
    width: auto;
    min-width: 0;
    opacity: var(--media-reveal);
    will-change: opacity, transform;
    transform-origin: 50% 100%;
    transform: translate3d(0, calc((1 - var(--media-reveal)) * 1.75rem), 0) rotateX(calc((1 - var(--media-reveal)) * 14deg)) scale(calc(.92 + var(--media-reveal) * .08));
    transition: transform .75s cubic-bezier(.22,1,.36,1), opacity .55s;
    position: relative;
    overflow: visible;
}
.model-carousel { width: 100%; overflow: visible; }
.model-carousel-viewport-wrapper { position: relative; }
.model-carousel-viewport { cursor: grab; -webkit-user-select: none; user-select: none; touch-action: pan-y; overflow: hidden; }
.model-carousel-viewport:active { cursor: grabbing; }
.model-carousel-container { backface-visibility: hidden; will-change: transform; display: flex; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.model-carousel-slide { flex: 0 0 100%; min-width: 0; height: auto; position: relative; transform: none; }
.model-carousel-media {
    aspect-ratio: 16/9;
    background-color: #ffffff0f;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.model-carousel-skeleton { z-index: 0; pointer-events: none; background: #ffffff0a; animation: 1.5s ease-in-out infinite video-skeleton-pulse; position: absolute; inset: 0; }
.model-carousel-poster {
    object-fit: cover;
    object-position: center center;
    z-index: 2;
    opacity: 1;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    transition: opacity .4s;
    display: block;
    position: absolute;
    inset: 0;
}
.model-carousel-poster.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s, visibility 0s linear .35s;
}
.model-carousel-slide .model-carousel-video {
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    transition: opacity .35s;
    position: absolute;
    inset: 0;
}
.model-carousel-slide .model-carousel-video.is-visible { opacity: 1; pointer-events: auto; z-index: 1; }
@keyframes video-skeleton-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.model-frame {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    background: linear-gradient(292deg, #ffffff1a 0%, #fff0 17.06%), linear-gradient(114deg, #ffffff1a 0%, #fff0 31.22%), linear-gradient(292deg, #5656ff1a 0%, #3434991a 100%);
    border: .5px solid #ffffff4d;
    border-radius: .75rem;
    transition: transform .22s ease-out;
    overflow: hidden;
}
.frame-bar {
    color: #ffffff80;
    align-items: center;
    height: 2.75rem;
    padding: 0 1.125rem;
    font-family: Rubik, sans-serif;
    font-size: .875rem;
    font-weight: 400;
    line-height: .875rem;
    display: flex;
}
.frame-bar::before {
    content: "";
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    width: .375rem;
    height: .375rem;
    margin-right: .875rem;
    display: block;
    box-shadow: 0 0 .5rem #fff;
}
.frame-foot { z-index: 2; height: 2.75rem; margin-top: -.125rem; position: relative; }

.model-carousel-arrow {
    z-index: 3;
    cursor: pointer;
    background: #ffffff1a;
    border: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    transition: background .2s;
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.model-carousel-arrow--prev { right: 100%; margin-right: 1.5rem; }
.model-carousel-arrow--next { left: 100%; margin-left: 1.5rem; }
.model-carousel-arrow:hover { background: #ffffff29; }
.model-carousel-arrow-icon { width: 1rem; height: auto; display: block; }
.model-carousel-arrow--prev .model-carousel-arrow-icon { transform: translate(-.0625rem); }
.model-carousel-arrow--next .model-carousel-arrow-icon { transform: translate(.0625rem); }

.model-carousel-dots { justify-content: center; align-items: center; gap: .75rem; margin-top: 1rem; display: flex; }
.model-carousel-dots button { cursor: pointer; background: #fff3; border: 0; border-radius: 50%; width: .5rem; height: .5rem; padding: 0; transition: background .2s; }
.model-carousel-dots button.is-active { background: #ffffffe6; }
.model-carousel-dots button:hover:not(.is-active) { background: #ffffff59; }

@media (max-width: 62.5rem) {
    .models { padding: 6.875rem var(--page-pad); gap: 6.875rem; }
    .model-section, .model-section.reverse { grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
    .model-section.reverse .model-media, .model-section.reverse .model-copy { grid-area: auto; }
    .model-kicker { margin-bottom: 1.5rem; letter-spacing: .12em; font-size: .625rem; }
    .model-title { font-size: clamp(2.75rem, 8vw, 4rem); letter-spacing: -.02em; line-height: 1.05; }
    .model-desc { max-width: 100%; margin-top: 1.5rem; font-size: .85rem; line-height: 1.65; }
}
/* ===== See What's Possible ===== */
.possible { padding-bottom: 8.75rem; position: relative; }
.possible-title {
    padding-left: var(--page-pad);
    color: var(--text-white);
    letter-spacing: -.05em;
    margin: 0 0 .75rem;
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 6.25rem;
    opacity: 0;
    transform: translate3d(0, 1.375rem, 0);
    transition: opacity .6s, transform .6s;
}
.possible-title.in { opacity: 1; transform: none; }
.possible-desc {
    padding-left: var(--page-pad);
    color: var(--text-body);
    margin: 0 0 3rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75rem;
    opacity: 0;
    transform: translate3d(0, 1.375rem, 0);
    transition: opacity .6s, transform .6s;
}
.possible-desc.in { opacity: 1; transform: none; }
.possible-grid {
    overscroll-behavior-x: contain;
    padding-left: var(--page-pad);
    scroll-padding-left: var(--page-pad);
    scrollbar-width: none;
    cursor: grab;
    gap: 1.5rem;
    padding-bottom: .5rem;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}
.possible-grid.is-dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.possible-grid.is-dragging .possible-card { pointer-events: none; }
.possible-grid::-webkit-scrollbar { display: none; }
.possible-card {
    scroll-snap-align: start;
    opacity: var(--reveal, 0);
    will-change: transform, opacity;
    transform: translate3d(0, calc((1 - var(--reveal, 0)) * 1.625rem), 0);
    border: .5px solid #fff3;
    border-radius: 1rem;
    flex-direction: column;
    flex: 0 0 28.1%;
    gap: 1.5rem;
    padding: 1rem;
    transition: transform .25s, opacity .25s;
    display: flex;
}
.possible-card:last-child { margin-right: var(--page-pad); }
.possible-card.in { --reveal: 1; }
.possible-thumb { overflow: hidden; }
.possible-thumb .video-with-skeleton { aspect-ratio: 16/9; border-radius: .5rem; overflow: hidden; }
.possible-thumb .video-poster,
.possible-thumb .possible-thumb-media {
    filter: saturate(.92) contrast(1.03);
    border-radius: .5rem;
    width: 100%;
    display: block;
}
.video-with-skeleton {
    background-color: #ffffff0f;
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}
.video-with-skeleton .video-poster {
    z-index: 2;
    object-fit: cover;
    pointer-events: none;
    opacity: 1;
    width: 100%;
    height: 100%;
    transition: opacity .4s;
    display: block;
    position: absolute;
    inset: 0;
}
.video-with-skeleton .video-poster.is-hidden { opacity: 0; pointer-events: none; }
.video-with-skeleton video {
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #0a0a0a;
    width: 100%;
    height: auto;
    display: block;
}
.video-with-skeleton video.is-loading { opacity: 0; }
.video-skeleton {
    z-index: 1;
    background: #ffffff0f;
    animation: 1.5s ease-in-out infinite video-skeleton-pulse;
    position: absolute;
    inset: 0;
}
.possible-copy { flex-direction: column; gap: .5rem; display: flex; }
.possible-label { color: var(--text-white); font-size: 1.25rem; font-weight: 700; line-height: 1.75rem; }
.possible-card-desc { color: var(--text-body); margin: 0; font-size: 1rem; font-weight: 300; line-height: 1.75rem; }

@media (max-width: 62.5rem) {
    :root { --page-pad: clamp(22px, 5.5vw, 58px); }
    .possible-card { flex-basis: 42%; }
    .model-section, .model-section.reverse { grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
    .model-section.reverse .model-media, .model-section.reverse .model-copy { grid-area: auto; }
    .model-title { --title-lh-from: 10rem; --title-lh-to: 6.5625rem; font-size: clamp(3.125rem, 9vw, 5.25rem); }
}
@media (max-width: 45rem) {
    /* ===== Header (mobile: compact, matches original xmax.ai) ===== */
    :root { --header-h: 64px; }
    .site-header { height: var(--header-h); background: #030306; }
    .header-right { gap: 1rem; font-size: 0.75rem; }
    .header-right a { padding: 6px 0; }
    .region-pill { padding: 0; border: 0; font-size: inherit; color: var(--text-secondary); }
    .region-pill-label { display: none; }

    /* ===== Hero (mobile: video box on top, copy below) ===== */
    .hero {
        min-height: auto;
        justify-content: flex-start;
        padding: calc(var(--header-h) + 1rem) 0 calc(var(--page-pad) + 2.5rem);
    }
    .hero .hero-bg-wrap {
        position: relative;
        z-index: 0;
        inset: auto;
        aspect-ratio: 16/9;
        margin: 0 var(--page-pad) calc(var(--page-pad) + 2rem);
        border-radius: .75rem;
    }
    .hero .hero-bg, .hero .hero-bg-fallback { transform: none; }
    .hero-copy { padding: 0 var(--page-pad); text-align: left; }
    .eyebrow.eyeborw-top { margin-bottom: 1.5rem; }
    .hero-title { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .hero-title .solid { font-size: 1.625rem; line-height: 1.625rem; margin-bottom: 0; font-weight: 600; }
    .scroll-hint {
        position: static;
        transform: none;
        width: 100%;
        margin-top: calc(var(--page-pad) + 2rem);
    }
    /* ===== Vision (mobile: centered orbit, smaller text) ===== */
    .vision {
        align-items: center;
        min-height: 100vh;
        padding: calc(4rem + .5rem) var(--page-pad) 1rem;
    }
    .vision::after { display: none; }
    .vision-core {
        top: 51%;
        right: auto;
        left: 50%;
        width: min(20rem, 76vw);
        height: min(20rem, 76vw);
        transform: translate3d(-50%, -50%, 0) rotate(calc(var(--vision-pn, 0) * 110deg)) scale(calc(.86 + var(--vision-pn, 0) * .22));
    }
    .vision-text { font-size: 1.25rem; line-height: 2.5rem; }
    .vision-text .vision-line { align-items: flex-start; gap: .75rem; }
    .vision-seg { display: block; }
    .vision-token { color: #ffffff4d; }
    .vision-progress { width: 100%; margin-top: 1rem; }
    /* ===== Models (mobile: media stacked above copy, centered) ===== */
    .models { padding: 0; gap: 0; }
    .model-section, .model-section.reverse {
        box-sizing: border-box;
        gap: 2.5rem;
        padding: calc(4rem + .5rem) var(--page-pad) 1rem;
        display: flex;
        flex-direction: column;
    }
    .model-section .model-media { order: 1; flex: none; width: 100%; opacity: 1; transform: none; transition: none; will-change: auto; }
    .model-section .model-copy { order: 2; flex: none; width: 100%; --model-optical-ratio: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
    .model-copy > * { width: 100%; max-width: 100%; text-align: center; transform: translate3d(0, calc((1 - var(--copy-t)) * 2.25rem), 0); }
    .model-kicker { letter-spacing: .12em; text-align: center; font-size: .625rem; margin-bottom: 1.5rem; font-weight: 500; }
    .model-title {
        font-size: 2.5rem;
        line-height: 2.5rem;
        letter-spacing: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .model-desc { width: 100%; max-width: 100%; margin-top: 1.5rem; padding: 0 1.25rem; font-size: .6875rem; line-height: 1.65; }
    .model-copy .cta-button { width: auto; max-width: none; align-self: center; gap: .625rem; margin-top: 1.5rem; padding: .5rem .5rem .5rem 1rem; font-size: .6875rem; }
    .model-copy .cta-button span { min-width: 1.75rem; height: 1.75rem; }
    .model-frame { border-radius: .5rem; }
    .frame-bar { height: 2rem; letter-spacing: .08em; padding: 0 .75rem; font-size: .6875rem; }
    .frame-bar::before { width: .25rem; height: .25rem; margin-right: .5rem; }
    .model-carousel-arrow { display: none; }
    .model-carousel-dots { margin-top: 1rem; }
    /* ===== Possible (mobile: ~full-width cards) ===== */
    .possible { margin-top: 4.5rem; padding-bottom: 5rem; }
    .possible-title { font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.15; }
    .possible-desc { margin-bottom: 1.75rem; font-size: .75rem; line-height: 1.65; }
    .possible-card { flex-basis: min(76vw, 18.75rem); gap: 1rem; }
    .possible-thumb .video-with-skeleton,
    .possible-thumb .possible-thumb-media,
    .possible-thumb .video-with-skeleton video { aspect-ratio: 4/3; }
    .possible-label { font-size: .875rem; line-height: 1.4; }
    .possible-card-desc { font-size: .6875rem; line-height: 1.6; }
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    padding: clamp(5rem, 12vw, 11rem) var(--page-pad);
    position: relative;
}
.cta .cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    object-fit: cover;
    width: 100%; height: 100%;
    opacity: .4;
}
.cta-title {
    font-size: clamp(2.6rem, 7vw, 6.2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: .95;
}
.cta-title .tint {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta .btn-try { margin-top: 2.5rem; font-size: 1.05rem; }

/* ===== Footer ===== */
.footer {
    z-index: 5;
    color: rgba(255, 255, 255, 0.48);
    background: #000;
    padding: 2.5rem 0;
    position: relative;
}
.footer-content { width: 63.2%; margin: 0 auto; }
.footer .brand { cursor: pointer; background: 0 0; border: 0; padding: 0; }
.footer-brand { color: var(--text-white); }
.footer-logo { width: auto; height: 1.9375rem; }
.footer-links { align-items: center; gap: .75rem; display: flex; }
.footer-links .footer-link {
    height: 2.5rem;
    color: var(--text-accent);
    cursor: pointer;
    background: 0 0;
    border: .5px solid rgba(255,255,255,.2);
    border-radius: .5rem;
    justify-content: center;
    align-items: center;
    padding: 0 .625rem;
    transition: background-color .2s, border-color .2s, color .2s;
    display: inline-flex;
    text-decoration: none;
}
.footer-links .footer-link:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.26); }
.footer-links .footer-link-icon { object-fit: contain; width: 1.25rem; height: 1.25rem; }
.footer-content-top { justify-content: space-between; align-items: center; padding-bottom: 1rem; display: flex; }
.footer-content-bottom {
    letter-spacing: .5px;
    border-top: .5px solid rgba(255,255,255,.2);
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 1rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: normal;
    display: flex;
}
.footer-copyright { color: inherit; }

@media (max-width: 45rem) {
    .footer-content { width: calc(100% - var(--page-pad) * 2); }
    .footer-brand { display: none; }
    .footer-content-top { flex-direction: column; justify-content: center; align-items: center; gap: 0; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .footer-content-bottom { text-align: center; font-size: .75rem; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }