@font-face { font-family: "Outfit Variable"; src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans Variable"; src: url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 100 900; size-adjust: 94.59%; ascent-override: 105.72%; descent-override: 27.49%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 1000; size-adjust: 104.53%; ascent-override: 94.9%; descent-override: 29.66%; line-gap-override: 0%; }

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --iris { syntax: "<percentage>"; inherits: false; initial-value: -14%; }

:root {
  color-scheme: light dark;
  --font-sans: "DM Sans Variable", "DM Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Outfit Variable", "Outfit Fallback", "DM Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 0.625rem;
  --foreground: #14101a;
  --card: #ffffff;
  --muted-foreground: #6b6477;
  --border: #e8e5ee;
  --primary: #5f36d1;
  --primary-text: #5f36d1;
  --gradient-brand: linear-gradient(90deg, #5f36d1 0%, #30dcf0 100%);
  --hero-bg: radial-gradient(120% 70% at 50% -10%, #ebe4fb 0%, #f5f2fc 40%, #fafafb 74%);
  --aurora-violet: rgb(95 54 209 / 0.16);
  --aurora-cyan: rgb(48 220 240 / 0.14);
  --accent-a: #5f36d1;
  --accent-b: #0a6f7b;
  --accent-c: #8f3a99;
  --accent-hot: #b9a4ff;
  --title: #14101a;
  --lead: rgb(20 16 26 / 0.72);
  --ink: 20 16 26;
  --ink-k: 1.45;
  --ink-max: #0f0a14;
  --veil: 95 54 209;
  --ground: 250 250 251;
  --film-opacity: 0.6;
  --win-line: rgb(95 54 209 / 0.16);
  --win-bg: linear-gradient(180deg, rgb(255 255 255 / 0.98), rgb(246 243 252 / 0.98));
  --win-shadow: 0 30px 70px -34px rgb(60 30 120 / 0.35);
  --card-line: rgb(95 54 209 / 0.14);
  --card-bg: linear-gradient(180deg, rgb(255 255 255 / 0.97), rgb(255 255 255 / 0.9));
  --card-shadow: 0 24px 50px -28px rgb(60 30 120 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.9);
  --cyan: #0a6f7b;
  --violet: #5f36d1;
  --mint: #0f7552;
  --glass: rgb(255 255 255 / 0.7);
  --glass-line: rgb(20 16 26 / 0.1);
  --spot: rgb(95 54 209 / 0.1);
  --halo: 0.28;
  --logo-filter: grayscale(1);
  --logo-filter-hover: none;
  --logo-opacity: 0.6;
  --logo-blend: multiply;
  --mark-filter: none;
  --orb-mix: white 14%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground: #f4f2f7;
    --card: #16101e;
    --muted-foreground: #a79fb3;
    --border: rgb(255 255 255 / 0.08);
    --primary-text: #9a80f3;
    --gradient-brand: linear-gradient(90deg, #8b6cf0 0%, #30dcf0 100%);
    --hero-bg: radial-gradient(120% 70% at 50% -10%, #1d0f3a 0%, #120818 38%, #07050c 72%);
    --aurora-violet: rgb(95 54 209 / 0.45);
    --aurora-cyan: rgb(48 220 240 / 0.16);
    --accent-a: #a991ff;
    --accent-b: #30dcf0;
    --accent-c: #f8af48;
    --accent-hot: #ffffff;
    --title: #ffffff;
    --lead: rgb(255 255 255 / 0.7);
    --ink: 245 243 250;
    --ink-k: 1;
    --ink-max: #ffffff;
    --veil: 255 255 255;
    --ground: 7 5 12;
    --film-opacity: 0.46;
    --win-line: rgb(255 255 255 / 0.12);
    --win-bg: linear-gradient(180deg, rgb(30 20 48 / 0.92), rgb(16 10 26 / 0.92));
    --win-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.9);
    --card-line: rgb(255 255 255 / 0.13);
    --card-bg: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.04));
    --card-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.95), inset 0 1px 0 rgb(255 255 255 / 0.14);
    --cyan: #30dcf0;
    --violet: #a991ff;
    --mint: #6ff0c4;
    --glass: rgb(15 10 20 / 0.6);
    --glass-line: rgb(255 255 255 / 0.12);
    --spot: rgb(139 108 240 / 0.16);
    --halo: 0.5;
    --logo-filter: grayscale(1) invert(1);
    --logo-filter-hover: grayscale(1) invert(1);
    --logo-opacity: 0.5;
    --logo-blend: normal;
    --mark-filter: brightness(0) invert(1);
    --orb-mix: transparent 50%;
    --orb-base: rgb(7 5 12 / 0.9);
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { background: rgb(var(--ground)); color: var(--foreground); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--primary) 55%, transparent); outline-offset: 3px; }
::selection { background: color-mix(in oklab, var(--primary) 22%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.play .rise { animation: rise 1s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; filter: blur(12px); transform: translateY(0.5em); } }
@keyframes fade { from { opacity: 0; } }
@keyframes ping { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }

.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: center; padding: 0.875rem 1.25rem; }
.nav-in { --d: 3.3s; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 72rem; padding: 0.5rem 0.5rem 0.5rem 1rem; border: 1px solid transparent; border-radius: 999px; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; }
.nav[data-stuck] .nav-in { border-color: var(--glass-line); background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); }
.brand { border-radius: 0.375rem; }
.brand img { width: auto; height: 1.5rem; }

.btn { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 1.125rem; overflow: hidden; border-radius: var(--radius); font: 500 0.9375rem var(--font-sans); transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s; }
.btn svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { border: 1px solid var(--glass-line); border-radius: 999px; background: rgb(var(--veil) / 0.06); color: var(--title); }
.btn-ghost:hover { border-color: color-mix(in oklab, var(--violet) 50%, transparent); background: rgb(var(--veil) / 0.12); }
.btn-primary { height: 3.25rem; padding: 0 1.75rem; background: var(--primary); color: #ffffff; font-size: 1.0625rem; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset, 0 14px 40px -12px rgb(95 54 209 / 0.8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2) inset, 0 20px 50px -12px rgb(95 54 209 / 0.95); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.35) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 5s var(--ease) 5s infinite; }
@keyframes sheen { 0% { transform: translateX(-120%); } 28%, 100% { transform: translateX(120%); } }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(100svh, 38rem); overflow: hidden; background: var(--hero-bg); }
.aurora { position: absolute; inset: -20% -10% auto; z-index: -1; height: 70%; pointer-events: none; background: radial-gradient(40% 50% at 28% 30%, var(--aurora-violet), transparent 70%), radial-gradient(35% 45% at 74% 25%, var(--aurora-cyan), transparent 70%); filter: blur(30px); animation: aurora 18s ease-in-out infinite alternate; }
.play .aurora { animation: aurora 18s ease-in-out infinite alternate, fade 2.6s ease 2.3s both; }
@keyframes aurora { to { transform: translate3d(3%, 4%, 0) scale(1.05); } }
.floor { position: absolute; inset: auto 0 0; z-index: -1; height: 60%; pointer-events: none; background-image: linear-gradient(rgb(var(--ink) / calc(0.1 * var(--ink-k))) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--ink) / calc(0.1 * var(--ink-k))) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 70%, transparent); transform: perspective(900px) rotateX(58deg); transform-origin: 50% 100%; opacity: 0.5; animation: floor 7s linear infinite; }
.play .floor { animation: floor 7s linear infinite, floor-in 2.2s var(--ease) 2.5s both; }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
@keyframes floor-in { from { opacity: 0; transform: perspective(900px) rotateX(78deg); } }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(30rem circle at var(--mx, 50%) var(--my, 35%), var(--spot), transparent 70%); }
.motes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.curtain, .bars, .flare, .bloom, .ring { display: none; pointer-events: none; }
.play .curtain { display: block; position: absolute; inset: 0; z-index: 5; background: #07050c; mask-image: radial-gradient(circle at 50% var(--fy, 46%), transparent var(--iris), #000 calc(var(--iris) + 14%)); animation: iris 1.8s cubic-bezier(0.6, 0, 0.2, 1) 2.25s both; }
@keyframes iris { from { --iris: -14%; } to { --iris: 130%; } }
.play .bars { display: block; position: fixed; inset: 0; z-index: 30; }
.bars::before, .bars::after { content: ""; position: absolute; inset-inline: 0; height: 11svh; background: #000; }
.bars::before { top: 0; animation: bar-top 1.2s var(--ease) 2.5s both; }
.bars::after { bottom: 0; animation: bar-bottom 1.2s var(--ease) 2.5s both; }
@keyframes bar-top { to { transform: translateY(-101%); } }
@keyframes bar-bottom { to { transform: translateY(101%); } }
.play .flare { display: block; position: absolute; inset-inline: 0; top: var(--fy, 46%); z-index: 5; height: 2px; background: linear-gradient(90deg, transparent, #a991ff 30%, #ffffff 50%, #30dcf0 70%, transparent); box-shadow: 0 0 24px 4px rgb(139 108 240 / 0.7), 0 0 90px 16px rgb(48 220 240 / 0.35); animation: flare 3.1s var(--ease) 0.15s both; }
@keyframes flare { 0% { opacity: 0; transform: scaleX(0); } 8% { opacity: 1; transform: scaleX(0.015); } 32% { opacity: 0.85; transform: scaleX(0.5); } 64% { opacity: 0.85; transform: scaleX(0.58); } 73% { opacity: 1; transform: scaleX(1) scaleY(4); } 100% { opacity: 0; transform: scaleX(1.2) scaleY(0.5); } }
.play .bloom { display: block; position: absolute; inset: 0; z-index: 7; background: radial-gradient(44rem 24rem at 50% var(--fy, 46%), rgb(255 255 255 / 0.95), rgb(169 145 255 / 0.5) 35%, transparent 70%); animation: bloom 1.3s ease-out 2.12s both; }
@keyframes bloom { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
.play .ring { display: block; position: absolute; left: 50%; top: var(--fy, 46%); z-index: 7; width: 12rem; height: 12rem; margin: -6rem; border: 1px solid rgb(169 145 255 / 0.9); border-radius: 50%; box-shadow: 0 0 40px rgb(48 220 240 / 0.5), inset 0 0 40px rgb(139 108 240 / 0.4); animation: ring 1.7s var(--ease) 2.22s both; }
@keyframes ring { from { opacity: 1; transform: scale(0.08); } to { opacity: 0; transform: scale(10); } }

.film { position: absolute; inset: 0; z-index: -1; pointer-events: none; perspective: 1400px; transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -12px - var(--sy, 0) * 60px), 0); }
.film::after { content: ""; position: absolute; inset: 0; background: radial-gradient(48% 44% at 50% 50%, rgb(var(--ground) / 0.93), rgb(var(--ground) / 0.55) 62%, rgb(var(--ground) / 0.18) 100%); }
.win { position: absolute; width: 18.75rem; overflow: hidden; border: 1px solid var(--win-line); border-radius: 0.875rem; background: var(--win-bg); box-shadow: var(--win-shadow); color: rgb(var(--ink) / calc(0.7 * var(--ink-k))); font-size: 0.75rem; opacity: var(--film-opacity); filter: blur(0.6px); animation: drift var(--dur, 22s) ease-in-out infinite alternate; }
.play .win { animation: drift var(--dur, 22s) ease-in-out infinite alternate, fly 2.2s var(--ease) var(--fd, 2.6s) both; }
@keyframes drift { to { translate: var(--dx, 18px) var(--dy, -14px); } }
@keyframes fly { from { opacity: 0; scale: 0.3; filter: blur(16px); } }
.win-time { left: 3%; top: 15%; transform: rotateY(18deg) rotateX(4deg); }
.win-analytics { right: 3%; top: 12%; width: 20rem; transform: rotateY(-18deg) rotateX(4deg); --dx: -16px; --dur: 26s; --fd: 2.75s; }
.win-invoice { left: 7%; bottom: 9%; width: 16.875rem; transform: rotateY(16deg) rotateX(-6deg); --dy: 12px; --dur: 24s; --fd: 2.9s; }
.win-week { right: 6%; bottom: 10%; width: 18.125rem; transform: rotateY(-16deg) rotateX(-6deg); --dx: -12px; --dy: 10px; --dur: 20s; --fd: 3.05s; }
.win-bar { display: flex; align-items: center; gap: 0.375rem; padding: 0.5625rem 0.75rem; border-bottom: 1px solid rgb(var(--veil) / 0.07); color: rgb(var(--ink) / calc(0.44 * var(--ink-k))); font-size: 0.71875rem; font-weight: 500; }
.win-bar i { width: 7px; height: 7px; border-radius: 999px; background: rgb(var(--veil) / 0.18); }
.win-bar b { margin-left: 0.375rem; color: rgb(var(--ink) / calc(0.7 * var(--ink-k))); font-weight: 500; }
.win-body { display: grid; gap: 0.5rem; padding: 0.75rem; }
.win-line { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.win-muted { color: rgb(var(--ink) / calc(0.44 * var(--ink-k))); }
.win-figure { color: var(--ink-max); font: 600 1.25rem/1 var(--font-heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.win-tag { display: inline-flex; align-items: center; height: 1.25rem; padding: 0 0.5rem; border: 1px solid rgb(48 220 240 / 0.25); border-radius: 999px; background: rgb(48 220 240 / 0.08); color: var(--cyan); font-size: 0.65625rem; }
.win-tag-ok { border-color: rgb(111 240 196 / 0.2); background: rgb(111 240 196 / 0.1); color: var(--mint); }
.win-typing { display: block; max-width: 0; overflow: hidden; border-right: 1.5px solid var(--cyan); white-space: nowrap; animation: typing 7s steps(40) infinite; }
@keyframes typing { 0%, 8% { max-width: 0; } 55%, 90% { max-width: 100%; } 100% { max-width: 0; } }
.win-chart { display: block; width: 100%; height: 5.625rem; }
.win-chart path { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 420; stroke-dashoffset: 420; vector-effect: non-scaling-stroke; animation: draw 6s ease-in-out infinite; }
@keyframes draw { 0%, 5% { stroke-dashoffset: 420; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 420; } }
.win-stamp { padding: 0.1875rem 0.5rem; border: 1.5px solid currentColor; border-radius: 0.375rem; color: var(--mint); font: 600 0.75rem var(--font-heading); letter-spacing: 0.08em; text-transform: uppercase; animation: stamp 6s ease-in-out infinite; }
@keyframes stamp { 0%, 35% { opacity: 0; transform: rotate(-8deg) scale(0.6); } 45%, 90% { opacity: 1; transform: rotate(-8deg) scale(1); } 100% { opacity: 0; transform: rotate(-8deg) scale(0.6); } }
.win-bars { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 0.3125rem; height: 4.375rem; }
.win-bars i { border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--cyan), rgb(48 220 240 / 0.25)); transform-origin: bottom; animation: grow 5s ease-in-out infinite; }
.win-bars i:nth-child(1) { height: 60%; }
.win-bars i:nth-child(2) { height: 85%; animation-delay: -1s; }
.win-bars i:nth-child(3) { height: 70%; animation-delay: -2s; }
.win-bars i:nth-child(4) { height: 95%; animation-delay: -3s; }
.win-bars i:nth-child(5) { height: 50%; animation-delay: -4s; }
@keyframes grow { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@media (max-width: 63.999rem) {
  .win-analytics, .win-week { display: none; }
  .win-time { left: -3.75rem; top: 10%; }
  .win-invoice { left: auto; right: -2.5rem; bottom: 6%; }
}

.copy { position: relative; z-index: 6; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; width: 100%; max-width: 72rem; margin: 0 auto; padding: 7rem 1.25rem 3rem; text-align: center; opacity: calc(1 - var(--sy, 0) * 1.25); transform: translateY(calc(var(--sy, 0) * -70px)) scale(calc(1 - var(--sy, 0) * 0.06)); will-change: transform, opacity; }
h1 { width: 100%; color: var(--title); font: 600 clamp(2.25rem, min(1rem + 6vw, 12svh), 6rem) / 1.08 var(--font-heading); letter-spacing: -0.04em; }
.play h1 { animation: ink 0.7s ease 2.3s both; }
@keyframes ink { from { color: #ffffff; } }
h1 .line { display: block; }
.was { opacity: 0.5; }
.play .was { animation: was 3.1s var(--ease) 0.45s both; }
@keyframes was { 0% { opacity: 0; letter-spacing: 0.3em; filter: blur(18px); transform: translateY(0.54em) scale(1.06); } 26%, 58% { opacity: 1; letter-spacing: -0.04em; filter: blur(0); transform: translateY(0.54em) scale(1.06); } 100% { opacity: 0.5; letter-spacing: -0.04em; filter: blur(0); transform: none; } }
.bridge { --d: 2.3s; display: inline-block; }
.now { position: relative; display: inline-block; }
.now-text, .now-halo { padding-inline: 0.04em; background: linear-gradient(90deg, var(--accent-a), var(--accent-b) 28%, var(--accent-c) 46%, var(--accent-hot) 50%, var(--accent-a) 54%, var(--accent-b) 78%, var(--accent-c)); background-size: 300% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.now-text { position: relative; display: inline-block; }
.play .now-text { mask-image: linear-gradient(90deg, #000 0 45%, transparent 55%); mask-size: 250% 100%; animation: shimmer 7s linear infinite, wipe 1.3s var(--ease) 2.4s both; }
@keyframes wipe { from { mask-position: 100% 0; } to { mask-position: 0 0; } }
.now-halo { position: absolute; inset: 0; opacity: var(--halo); filter: blur(26px); pointer-events: none; }
.play .now-halo { animation: shimmer 7s linear infinite, halo 6s ease-in-out 2.5s infinite backwards; }
@keyframes halo { 0% { opacity: 0; } 12% { opacity: 0.95; } 40%, 100% { opacity: var(--halo); } }
.lead { --d: 3.3s; max-width: 40rem; color: var(--lead); font-size: 1.0625rem; line-height: 1.65; text-wrap: pretty; }
.lead b { color: var(--title); font-weight: 500; }
.cta { --d: 3.5s; display: flex; flex-direction: column; align-items: center; gap: 0.875rem; }
.cta small { color: var(--lead); font-size: 0.8125rem; }

.foot { --d: 3.8s; position: relative; width: 100%; padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px)); opacity: calc(1 - var(--sy, 0) * 1.4); }
.foot::before { content: ""; position: absolute; inset: -4rem 0 0; z-index: -1; background: linear-gradient(to bottom, transparent, rgb(var(--ground)) 55%); }
.foot p { color: var(--muted-foreground); font-size: 0.8125rem; letter-spacing: 0.02em; text-align: center; }
.marquee { max-width: 72rem; margin: 1.25rem auto 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 190s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; gap: 3rem; padding: 0 1.5rem; list-style: none; }
.marquee-group img { width: auto; max-width: 8.5rem; height: 1.75rem; object-fit: contain; opacity: var(--logo-opacity); filter: var(--logo-filter); mix-blend-mode: var(--logo-blend); transition: opacity 0.3s, filter 0.3s; }
.marquee:hover .marquee-group img { opacity: 1; filter: var(--logo-filter-hover); }
@media (min-width: 40rem) {
  .marquee-group { gap: 4rem; padding: 0 2rem; }
  .marquee-group img { max-width: 10.5rem; height: 2.25rem; }
}
.cue { position: absolute; left: 50%; bottom: 0.875rem; display: grid; place-items: center; width: 1.5rem; height: 2.25rem; border: 1px solid var(--glass-line); border-radius: 999px; opacity: calc(0.8 - var(--sy, 0) * 4); transform: translateX(-50%); }
.cue::after { content: ""; width: 3px; height: 7px; border-radius: 3px; background: var(--lead); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }

.next { position: relative; padding: 6rem 1.25rem 0; background: rgb(var(--ground)); }
.seam { position: absolute; inset: 0 0 auto; height: 7.5rem; pointer-events: none; background: linear-gradient(to bottom, rgb(var(--ink) / 0.045), transparent); }
.seam::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--gradient-brand); opacity: 0.8; }
.js .seam::before { transform: scaleX(var(--seam, 0)); transition: transform 1.6s var(--ease); }
.wrap { position: relative; max-width: 64rem; margin: 0 auto; text-align: center; }
.js .reveal { opacity: 0; filter: blur(10px); transform: translateY(1.5rem); transition: opacity 0.9s var(--ease) var(--d, 0s), filter 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; filter: none; transform: none; }
h2 { font: 600 clamp(1.875rem, 1.457rem + 1.714vw, 3rem) / 1.1 var(--font-heading); letter-spacing: -0.025em; text-wrap: balance; }
h2 em { background: var(--gradient-brand); background-clip: text; -webkit-background-clip: text; color: transparent; font-style: normal; }

.circuit { --d: 0.2s; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 52rem; margin: 3.5rem auto 0; padding: 0; list-style: none; }
.circuit::before, .circuit::after { content: ""; position: absolute; top: 1.9375rem; right: 10%; left: 10%; }
.circuit::before { border-top: 1.5px dashed rgb(var(--ink) / calc(0.15 * var(--ink-k))); }
.circuit::after { height: 3px; margin-top: -1px; border-radius: 3px; background: linear-gradient(90deg, #5f36d1, #30dcf0, #fd8252, #f8af48); box-shadow: 0 0 16px rgb(139 108 240 / 0.8); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform 1.1s var(--ease), opacity 0.8s; }
.circuit[data-off]::after { opacity: 0; transition: opacity 0.8s, transform 0s 0.8s; }
.node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.8125rem; }
.node:nth-child(1) { --c: #8b6cf0; }
.node:nth-child(2) { --c: #5f8df0; }
.node:nth-child(3) { --c: #22b8cc; }
.node:nth-child(4) { --c: #fd8252; }
.node:nth-child(5) { --c: #e8992b; }
.orb { position: relative; display: grid; place-items: center; width: 3.875rem; height: 3.875rem; border: 1px solid rgb(var(--ink) / calc(0.1 * var(--ink-k))); border-radius: 999px; background: rgb(var(--ground)); color: rgb(var(--ink) / calc(0.42 * var(--ink-k))); transition: color 0.5s, border-color 0.5s, box-shadow 0.6s, background 0.5s; }
.orb svg { width: 1.5rem; height: 1.5rem; }
.orb::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--c); border-radius: inherit; opacity: 0; }
.node span { color: rgb(var(--ink) / calc(0.42 * var(--ink-k))); font: 600 1rem/1.2 var(--font-heading); letter-spacing: -0.01em; transition: color 0.4s; }
.node[data-on] .orb, html:not(.js) .orb { border-color: color-mix(in oklch, var(--c), transparent 30%); background: radial-gradient(circle at 50% 30%, color-mix(in oklch, var(--c), var(--orb-mix)), var(--orb-base, var(--c))); color: #ffffff; box-shadow: 0 0 34px -4px var(--c), 0 0 0 5px color-mix(in oklch, var(--c), transparent 88%); }
.node[data-on] .orb::after { animation: ping 1.4s ease-out; }
.node[data-on] span, html:not(.js) .node span { color: rgb(var(--ink)); }
html:not(.js) .circuit::after { transform: none; }
@media (max-width: 40rem) {
  .orb { width: 2.75rem; height: 2.75rem; }
  .orb svg { width: 1.125rem; height: 1.125rem; }
  .circuit::before, .circuit::after { top: 1.375rem; }
  .node span { font-size: 0.6875rem; }
}

.keeps { display: grid; gap: 1rem; margin-top: 3.5rem; text-align: left; }
@media (min-width: 48rem) { .keeps { grid-template-columns: repeat(3, 1fr); } }
.keep { position: relative; padding: 1.25rem 1.375rem; overflow: hidden; border: 1px solid var(--card-line); border-radius: 0.9375rem; background: var(--card-bg); box-shadow: var(--card-shadow); }
.keep:nth-child(1) { --d: 0.1s; }
.keep:nth-child(2) { --d: 0.2s; }
.keep:nth-child(3) { --d: 0.3s; }
.keep::before { content: ""; position: absolute; inset: 0; background: radial-gradient(16rem circle at var(--cx, 50%) var(--cy, 0%), rgb(139 108 240 / 0.16), transparent 70%); opacity: 0; transition: opacity 0.4s; }
.keep:hover::before { opacity: 1; }
.keep h3 { position: relative; font: 600 1.0625rem/1.25 var(--font-heading); letter-spacing: -0.01em; }
.keep p { position: relative; margin-top: 0.4375rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.55; }

.recognition { --d: 0.15s; display: flex; justify-content: center; margin-top: 4rem; }
.pill { position: relative; isolation: isolate; display: inline-flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem; border-radius: 1.125rem; background: var(--card); text-align: center; }
.pill::before { content: ""; position: absolute; inset: -1px; z-index: -2; border-radius: inherit; background: conic-gradient(from var(--spin), var(--border) 0 62%, #8b6cf0 76%, #30dcf0 86%, var(--border) 100%); animation: spin 6s linear infinite; }
.pill::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--card); }
@keyframes spin { to { --spin: 360deg; } }
.pill img { width: auto; height: 1.75rem; filter: var(--mark-filter); }
.pill hr { display: none; width: 1px; height: 1.5rem; border: 0; background: var(--border); }
.pill-text { display: inline-flex; align-items: center; gap: 0.375rem; color: color-mix(in oklab, var(--foreground) 85%, transparent); font-size: 0.95rem; }
.pill-text span { text-wrap: balance; }
.pill b { color: var(--primary-text); font: 600 1em var(--font-heading); }
.pill svg { flex: none; width: 0.875rem; height: 0.875rem; transition: transform 0.2s; }
.pill:hover svg { transform: translate(2px, -2px); }
@media (min-width: 40rem) {
  .pill { flex-direction: row; gap: 1.25rem; padding: 0.75rem 1.25rem 0.75rem 1.5rem; border-radius: 999px; }
  .pill hr { display: block; }
}

.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; max-width: 72rem; margin: 5rem auto 0; padding: 1.5rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 0.8125rem; }
.footer img { width: auto; height: 1.25rem; }
.footer nav { display: flex; gap: 1rem; }
.footer nav a { transition: color 0.2s; }
.footer nav a:hover, .footer nav a[aria-current] { color: var(--foreground); }

.lost { display: grid; place-content: center; justify-items: center; gap: 1.5rem; min-height: 100svh; padding: 2rem 1.25rem; background: var(--hero-bg); text-align: center; }
.lost img { width: auto; height: 2rem; }
.lost p { color: var(--lead); line-height: 1.8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; }
}
@media print {
  .nav, .film, .motes, .cue { display: none; }
}
