/* studio.umiros.com — the sales page, in the studio's own look (« Verre », moodboard
   DA 2027): near-black lit by a violet light, film grain, hairline grid, glass, mono
   captions, calls to action that give off light. */
/* Fonts served from this site: no request to Google, nothing to wait for before the first paint. */
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/geist-mono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/geist-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #030105;
    --ink: #110819;
    --text: #FFFFFF;
    --text-2: rgba(255, 255, 255, 0.78);
    --muted: rgba(255, 255, 255, 0.58);
    --faint: rgba(255, 255, 255, 0.38);
    --line: rgba(214, 200, 255, 0.1);
    --accent: #B086FC;
    --accent-text: #CDB5FF;
    --font: 'Poppins', system-ui, -apple-system, sans-serif;
    --mono: 'Geist Mono', ui-monospace, monospace;
    --edge: linear-gradient(135deg, rgba(232, 222, 255, 0.55) 0%, rgba(200, 180, 255, 0.14) 22%, rgba(255, 255, 255, 0.035) 50%, rgba(170, 140, 255, 0.07) 74%, rgba(190, 160, 255, 0.32) 100%);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --max: 1180px;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    background: #030105;
    overflow-x: hidden;
}
/* The background is a fixed layer the compositor keeps, not a fixed background repainted at each scroll. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(60% 50% at -5% 100%, rgba(124, 82, 255, 0.14), transparent 70%),
        radial-gradient(120% 90% at 50% 20%, #110819 0%, #08040E 55%, #030105 100%);
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }

.eyebrow { font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(214, 200, 255, 0.62); }
.mono { font-family: var(--mono); }
.fine { font-size: 12.5px; line-height: 1.6; color: var(--faint); }
.lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.65; color: var(--text-2); max-width: 600px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px var(--font); text-decoration: none; white-space: nowrap; transition: box-shadow 0.25s ease, transform 0.15s var(--ease), background-color 0.2s ease; }
.btn:active { transform: scale(0.97); }
.btn--primary { color: #141018; background: linear-gradient(180deg, #C9ADFF 0%, #A77CFA 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(80, 40, 160, 0.25), 0 12px 36px -10px rgba(150, 100, 255, 0.75); }
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(80, 40, 160, 0.25), 0 14px 46px -8px rgba(160, 110, 255, 0.95); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.25), inset -1px -1px 0 rgba(255, 255, 255, 0.07); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ── Navigation ── */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 16px 24px; }
.nav::before { content: ''; position: absolute; inset: 0 -100vw; z-index: -1; background: rgba(3, 1, 5, 0.6); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav__brand { margin-right: auto; }
.nav__brand img { width: 150px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav__links a:hover { color: var(--text); }

/* ── Hero ── */
section { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero { position: relative; padding-top: clamp(64px, 10vw, 120px); text-align: center; }
.hero__grid { position: absolute; inset: -40px -40vw 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(200, 180, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 180, 255, 0.07) 1px, transparent 1px); background-size: 72px 72px; background-position: center top; -webkit-mask: radial-gradient(60% 55% at 50% 30%, #000 0%, transparent 100%); mask: radial-gradient(60% 55% at 50% 30%, #000 0%, transparent 100%); }
.hero__text { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; max-width: 920px; }
.hero h1 em { font-style: normal; background: linear-gradient(110deg, #FFFFFF 10%, #CDB5FF 60%, #9D74F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero__shot { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1100px; perspective: 1600px; }
.hero__shot::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: -12%; height: 60%; z-index: -1; background: radial-gradient(closest-side, rgba(140, 95, 255, 0.55), transparent); filter: blur(40px); }
.hero__shot .frame { transform: rotateX(8deg); transform-origin: 50% 100%; }

/* A screenshot in a glass frame with a lit edge. */
.frame { position: relative; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05), 0 40px 120px rgba(0, 0, 0, 0.6); }
.frame::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.frame img { border-radius: 15px; }

/* ── Models ── */
.models { padding-top: clamp(64px, 8vw, 104px); text-align: center; display: flex; flex-direction: column; gap: 14px; }
.models__list { font: 400 14px/1.9 var(--mono); color: var(--muted); max-width: 860px; margin: 0 auto; }

/* ── A Mac application ── */
.mac { padding-top: clamp(80px, 10vw, 140px); display: flex; flex-direction: column; gap: 36px; }
.mac__head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.mac__head h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.mac__head p:not(.eyebrow) { font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.mac__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mac__item { position: relative; padding: 22px 20px; border-radius: 18px; background: rgba(186, 164, 255, 0.04); box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 10px; }
.mac__item::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.mac__key { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #E6DAFF; background: rgba(186, 164, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(214, 196, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.mac__key svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mac__item h3 { font-size: 15.5px; }
.mac__item p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ── Features ── */
.features { padding-top: clamp(80px, 10vw, 140px); display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.feature { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.feature--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
figure { margin: 0; }
.feature--flip .feature__text { order: 2; }
.feature__text { display: flex; flex-direction: column; gap: 16px; }
.feature h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.feature p:not(.eyebrow) { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(176, 134, 252, 0.9); }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; padding: 22px 20px; border-radius: 18px; background: rgba(186, 164, 255, 0.04); box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 10px; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card h3 { font-size: 16px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ── Steps ── */
.steps { padding-top: clamp(96px, 12vw, 160px); display: flex; flex-direction: column; gap: 16px; }
.steps h2, .faq h2 { font-size: clamp(28px, 3vw, 40px); }
.steps__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps__list li { padding: 24px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.steps__list .mono { font-size: 12px; color: var(--accent-text); letter-spacing: 0.08em; }
.steps__list h3 { font-size: 19px; }
.steps__list p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ── Pricing ── */
.pricing { padding-top: clamp(96px, 12vw, 160px); display: flex; justify-content: center; }
.price-card { position: relative; width: min(520px, 100%); padding: 36px 34px 30px; border-radius: 26px; background: rgba(186, 164, 255, 0.05); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.06), 0 40px 120px -20px rgba(120, 80, 255, 0.35); display: flex; flex-direction: column; gap: 18px; }
.price-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-card h2 { font-size: 26px; }
.price-card__logo { line-height: 0; }
.price-card__logo img { width: 220px; height: auto; }
.price { font-size: 52px; font-weight: 600; letter-spacing: -0.04em; }
.price small { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* ── FAQ ── */
.faq { padding-top: clamp(96px, 12vw, 160px); max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.faq h2 { margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 20px/1 var(--mono); color: var(--accent-text); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--text-2); max-width: 700px; }

/* ── Footer ── */
.footer { max-width: var(--max); margin: clamp(96px, 12vw, 160px) auto 0; padding: 32px 24px 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 13px; color: var(--faint); }
.footer img { width: 120px; opacity: 0.8; margin-right: auto; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ── Arrivals ── */
.rise { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.cards .rise:nth-child(4n+2) { transition-delay: 60ms; }
.cards .rise:nth-child(4n+3) { transition-delay: 120ms; }
.cards .rise:nth-child(4n+4) { transition-delay: 180ms; }

/* ── Small screens ── */
@media (max-width: 1100px) { .mac__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .nav__links { display: none; }
    .feature, .feature--flip { grid-template-columns: 1fr; }
    .feature--flip .feature__text { order: 0; }
    .cards, .mac__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps__list { grid-template-columns: 1fr; }
    .hero__shot .frame { transform: none; }
}
@media (max-width: 520px) {
    .nav { padding: 12px 16px; }
    section { padding: 0 16px; }
    .cards, .mac__grid { grid-template-columns: 1fr; }
    .price-card { padding: 28px 22px 24px; }
    .btn { height: 46px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rise { opacity: 1; transform: none; transition: none; } }

/* ── Terms and download pages ── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 0; display: flex; flex-direction: column; gap: 14px; }
.legal-page h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 8px; }
.legal-page h2 { font-size: 20px; margin-top: 28px; }
.legal-page h3 { font-size: 16px; margin-top: 14px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.75; color: var(--text-2); }
.legal-page ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.welcome .hero { padding-bottom: 24px; }
.welcome__narwhal { width: 84px; height: 84px; filter: drop-shadow(0 0 24px rgba(160, 120, 255, 0.5)); }
.steps__list--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .steps__list--two { grid-template-columns: 1fr; } }

/* ── Motion (only with the `motion` class: macOS doesn't ask for less movement) ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero: the headline and its lines arrive in turn; the grid drifts and lights up under the cursor. */
.motion .hero h1:not(.is-split) { opacity: 0; }
.motion .hero h1 .word { display: inline-block; animation: word-in 0.9s var(--ease) both; animation-delay: calc(120ms + var(--i) * 55ms); }
.motion .hero h1 em { animation: em-in 1.2s var(--ease) both; animation-delay: calc(160ms + var(--i) * 55ms); }
.motion .hero__text > :not(h1) { animation: line-in 0.9s var(--ease) both; }
.motion .hero__text > .eyebrow { animation-delay: 40ms; }
.motion .hero__text > .lead { animation-delay: 620ms; }
.motion .hero__text > .hero__cta { animation-delay: 760ms; }
.motion .hero__text > .fine { animation-delay: 900ms; }
.motion .hero__shot { animation: shot-in 1.4s var(--ease) 0.5s both; }
@keyframes word-in { from { opacity: 0; transform: translateY(0.55em) rotate(2deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes em-in { from { opacity: 0; filter: blur(14px); } to { opacity: 1; filter: none; } }
@keyframes line-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes shot-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.motion .hero__grid:not(.hero__grid--lit) { animation: grid-drift 24s linear infinite; }
@keyframes grid-drift { to { background-position: center 72px; } }
.hero__grid--lit { display: none; }
.motion .hero__grid--lit { display: block; background-image: linear-gradient(rgba(214, 190, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 190, 255, 0.5) 1px, transparent 1px); -webkit-mask: radial-gradient(260px circle at var(--mx, -999px) calc(var(--my, -999px) + 40px), #000 0%, transparent 100%); mask: radial-gradient(260px circle at var(--mx, -999px) calc(var(--my, -999px) + 40px), #000 0%, transparent 100%); }
.motion .hero__shot .frame { transform: rotateX(var(--tilt, 16deg)) scale(var(--lift, 0.92)); will-change: transform; }

/* Hero: the live demo, a 1280 × 800 copy of the Image tool scaled to the frame. */
.demo { position: relative; width: 100%; overflow: hidden; border-radius: 15px; background: radial-gradient(120% 90% at 50% 45%, #110819 0%, #08040E 55%, #030105 100%); aspect-ratio: 16 / 10; }
.demo__stage { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; transform-origin: 0 0; display: flex; font-family: var(--font); text-align: left; color: var(--text); }
.demo svg { width: 18px; height: 18px; flex: none; }
.demo__side { width: 232px; flex: none; padding: 26px 12px 18px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(180deg, rgba(40, 24, 70, 0.35), rgba(30, 18, 60, 0.6)); border-right: 1px solid rgba(214, 200, 255, 0.08); }
.demo__logo { width: 150px; margin: 0 0 22px 8px; }
.demo__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.demo__nav li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.demo__nav li.is-on { color: #fff; background: rgba(186, 164, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(214, 196, 255, 0.18); }
.demo__label { margin: 14px 0 4px 10px; font: 500 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(214, 200, 255, 0.5); }
.demo__balance { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 0; border-top: 1px solid rgba(214, 200, 255, 0.08); font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.demo__balance b { margin-left: auto; font: 500 12px var(--mono); color: #fff; transition: color 0.3s; }
.demo__balance b.is-tick { color: var(--accent-text); }
.demo__main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; background-image: linear-gradient(rgba(200, 180, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 180, 255, 0.04) 1px, transparent 1px); background-size: 64px 64px; }
.demo__top { display: flex; align-items: center; gap: 8px; padding: 18px 28px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.demo__top b { color: #fff; font-weight: 500; }
.demo__top svg { width: 14px; height: 14px; }
.demo__empty { position: absolute; inset: 60px 0 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.demo__empty b { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; }
.demo__empty p { font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.demo__badge { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #A77CFA; box-shadow: 0 0 30px rgba(167, 124, 250, 0.6); }
.demo__badge svg { width: 24px; height: 24px; }
.demo.has-runs .demo__empty { opacity: 0; transform: scale(0.96); }
.demo__feed { flex: 1; min-height: 0; overflow: hidden; padding: 0 28px; -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }
.demo__runs { display: flex; flex-direction: column; }
.demo__run { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-14px); transition: grid-template-rows 0.8s var(--ease), opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.demo__run.is-open { grid-template-rows: 1fr; opacity: 1; transform: none; }
.demo__runin { min-height: 0; overflow: hidden; padding-bottom: 26px; }
.demo__runhead { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.demo__runprompt { font-size: 13.5px; color: rgba(255, 255, 255, 0.86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo__runmeta { font: 400 11.5px var(--mono); color: rgba(255, 255, 255, 0.45); }
.demo__state { font-weight: 400; color: var(--accent-text); }
.demo__state.is-done { color: rgba(255, 255, 255, 0.6); }
.demo__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.demo__tile { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: linear-gradient(110deg, rgba(186, 164, 255, 0.05) 30%, rgba(214, 196, 255, 0.16) 50%, rgba(186, 164, 255, 0.05) 70%) 0 0 / 300% 100%; box-shadow: inset 0 0 0 1px rgba(214, 196, 255, 0.12); animation: tile-wait 1.6s linear infinite; }
.demo__tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(22px) saturate(0.3) brightness(1.5); transform: scale(1.12); transition: opacity 0.5s ease, filter 1.4s var(--ease), transform 1.6s var(--ease); }
.demo__tile.is-done { animation: none; }
.demo__tile.is-done img { opacity: 1; filter: none; transform: none; }
.demo__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%); transform: translateX(-120%); }
.demo__tile.is-done .demo__shine { transition: transform 1.1s var(--ease) 0.25s; transform: translateX(120%); }
@keyframes tile-wait { to { background-position: -300% 0; } }
.demo__composer { margin: 0 auto 22px; width: calc(100% - 140px); padding: 14px 16px 12px; border-radius: 22px; background: rgba(20, 12, 34, 0.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(214, 196, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; gap: 10px; }
.demo__row { display: flex; align-items: center; gap: 8px; }
.demo__row--brain { padding-bottom: 10px; border-bottom: 1px solid rgba(214, 200, 255, 0.08); font-size: 13px; }
.demo__brain { display: flex; align-items: center; gap: 6px; font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.demo__brain svg { width: 15px; height: 15px; }
.demo__layer { padding: 4px 10px; border-radius: 999px; border: 1px dashed rgba(214, 200, 255, 0.25); color: rgba(255, 255, 255, 0.6); }
.demo__cfg { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; color: #141018; font-weight: 500; }
.demo__cfg svg { width: 14px; height: 14px; }
.demo__prompt { position: relative; min-height: 48px; font-size: 16px; line-height: 1.5; color: #fff; transition: opacity 0.3s ease, transform 0.4s var(--ease), filter 0.4s ease; }
.demo__prompt.is-sent { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
.demo__ph { position: absolute; left: 0; top: 0; color: rgba(255, 255, 255, 0.35); }
.demo__prompt.is-typing .demo__ph { display: none; }
.demo__caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--accent-text); animation: caret 1s steps(1) infinite; }
.demo__prompt:not(.is-typing) .demo__caret { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.demo__pill { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; color: rgba(255, 255, 255, 0.86); box-shadow: inset 0 0 0 1px rgba(214, 196, 255, 0.16); }
.demo__pill svg { width: 16px; height: 16px; }
.demo__cost { margin-left: auto; display: flex; align-items: center; gap: 6px; font: 400 13px var(--mono); color: rgba(255, 255, 255, 0.7); padding: 4px 8px; border-radius: 8px; transition: color 0.3s, background-color 0.3s, box-shadow 0.3s; }
.demo__cost svg { width: 15px; height: 15px; }
.demo__cost.is-lit { color: #fff; background: rgba(176, 134, 252, 0.16); box-shadow: 0 0 24px rgba(176, 134, 252, 0.35); }
.demo__send { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #141018; transition: transform 0.18s var(--ease), box-shadow 0.3s; }
.demo__send.is-press { transform: scale(0.86); box-shadow: 0 0 0 8px rgba(176, 134, 252, 0.25), 0 0 40px rgba(176, 134, 252, 0.6); }

/* Models: provider logos in two rows scrolling in opposite directions (wrapped and still without motion). */
.marquee { display: flex; flex-direction: column; gap: 14px; margin: 10px auto 0; width: min(100%, 1000px); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__set { display: flex; }
.marquee__item { display: flex; align-items: center; gap: 10px; padding: 0 22px; font: 500 16px var(--font); letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.9); white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; fill: #fff; flex: none; }
html:not(.motion) .marquee__dup { display: none; }
html:not(.motion) .marquee__track, html:not(.motion) .marquee__set { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
.motion .marquee { -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.motion .marquee__track { animation: marquee 40s linear infinite; }
.motion .marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.motion .marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards: a light under the cursor, on the edge and inside. */
.motion .mac__item::before, .motion .card::before { background: radial-gradient(220px circle at var(--x, -999px) var(--y, -999px), rgba(230, 216, 255, 0.95), transparent 45%), var(--edge); }
.motion .mac__item, .motion .card { background: radial-gradient(320px circle at var(--x, -999px) var(--y, -999px), rgba(176, 134, 252, 0.1), transparent 50%), rgba(186, 164, 255, 0.04); transition: transform 0.4s var(--ease); }
.motion .mac__item:hover .mac__key { color: #fff; box-shadow: inset 0 0 0 1px rgba(214, 196, 255, 0.3), 0 0 24px rgba(176, 134, 252, 0.35); }
.mac__key { transition: color 0.3s, box-shadow 0.3s; }
.motion .btn--primary { transform: translate(var(--bx, 0px), var(--by, 0px)); transition: box-shadow 0.25s ease, transform 0.35s var(--ease); }
.motion .btn--primary:active { transform: translate(var(--bx, 0px), var(--by, 0px)) scale(0.97); }

/* Screenshots open like a shutter, then drift with the scroll. */
.motion .feature__shot .frame { clip-path: inset(10% 10% 10% 10% round 22px); transform: translateY(var(--py, 0px)) scale(0.96); transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease); }
.motion .feature.is-in .feature__shot .frame { clip-path: inset(0 0 0 0 round 22px); transform: translateY(var(--py, 0px)); transition: clip-path 1.2s var(--ease), transform 0.25s linear; }

/* Steps: the line above each step draws itself. */
.motion .steps__list li { position: relative; }
.motion .steps__list li::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(176, 134, 252, 0)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.motion .steps__list li.is-in::before { transform: scaleX(1); }

/* Reading progress, under the navigation bar. */
.nav::after { content: ''; position: absolute; left: calc(50% - 50vw); width: 100vw; bottom: -1px; height: 1px; background: linear-gradient(90deg, #7C52FF, #CDB5FF); transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; }

/* Pricing: the hero's grid behind the card, a light running round its edge. */
.pricing { position: relative; }
.pricing__grid { inset: -40px -40vw -120px; -webkit-mask: radial-gradient(42% 60% at 50% 55%, #000 0%, transparent 100%); mask: radial-gradient(42% 60% at 50% 55%, #000 0%, transparent 100%); }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.motion .price-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--spin), transparent 0deg 250deg, rgba(176, 134, 252, 0.4) 290deg, rgba(240, 232, 255, 0.95) 320deg, rgba(176, 134, 252, 0.4) 340deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: spin 7s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
.motion .price-card { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.06), 0 40px 140px -10px rgba(140, 95, 255, 0.55); } }

@media (max-width: 900px) { .motion .hero__shot .frame { transform: none; } }
.demo--compact .demo__side { display: none; }
.demo--compact .demo__composer { width: calc(100% - 40px); }
.demo--compact .demo__row--brain .demo__layer, .demo--compact .demo__pill:nth-child(n+3):not(:nth-child(5)) { display: none; }
.demo--compact .demo__feed { padding: 0 20px; }
.demo--compact .demo__top { padding: 18px 20px; }
