/* Velora — shared site styles. Quiet purple glass. */
:root {
  --bg: #08070d;
  --bg-2: #0d0b15;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ecebf3;
  --muted: #a09cb3;
  --faint: #6f6b84;
  --accent: #a78bfa;
  --accent-strong: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-line: rgba(167, 139, 250, 0.35);
  --good: #6ee7b7;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 16px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 36rem at 50% -12rem, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(40rem 30rem at 100% 30%, rgba(99, 102, 241, 0.07), transparent 70%),
    radial-gradient(36rem 30rem at 0% 80%, rgba(139, 92, 246, 0.06), transparent 70%),
    radial-gradient(30rem 22rem at 85% 75%, rgba(236, 72, 153, 0.045), transparent 70%),
    radial-gradient(26rem 20rem at 12% 35%, rgba(56, 189, 248, 0.035), transparent 70%);
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, 0.35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── Glass primitives ─────────────────────────────── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, opacity .2s;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--border-strong); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #9a6bff, var(--accent-strong));
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 6px 24px -8px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { background: linear-gradient(180deg, #a57cff, #9466f8); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface); border-color: transparent; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* ── Navigation ───────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav.is-scrolled {
  background: rgba(10, 8, 16, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

.account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  max-width: 220px;
}
.account img { width: 26px; height: 26px; border-radius: 50%; }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account[hidden] { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    margin-left: auto;
  }
  .nav-links {
    position: absolute;
    top: 64px; left: 12px; right: 12px;
    flex-direction: column;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(14, 11, 22, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: none;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-actions .btn-invite, .account-name { display: none; }
  .account { padding-right: 4px; }
}

/* ── Typography & sections ────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: #d6c8ff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.gradient-text {
  background: linear-gradient(180deg, #ffffff 30%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section { padding: 88px 0; }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { margin: 0; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Page header (inner pages) ────────────────────── */
.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 16px 0 12px; }
.page-head .lead { margin: 0; }

/* ── Cards & grids ────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { padding: 24px; transition: border-color .25s, background .25s; }
.card:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.045); }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: #d6c8ff;
}
.icon svg { width: 18px; height: 18px; }

.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.chip-accent { color: #d6c8ff; border-color: var(--accent-line); background: var(--accent-soft); }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ── CTA band & footer ────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  padding: 56px 32px;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% 10% auto;
  height: 120%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta p { color: var(--muted); max-width: 32rem; margin: 12px auto 28px; }

.footer { padding: 40px 0 56px; border-top: 1px solid var(--border); color: var(--faint); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

/* ── Toast ─────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(20, 16, 30, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 100;
  max-width: calc(100vw - 32px);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  .card { padding: 20px; }
  .cta { padding: 44px 20px; }
}

/* ══ Motion layer ══════════════════════════════════════════════════════ */

/* Floating pill nav once the page scrolls. */
.nav { padding: 0 12px; }
.nav-inner { transition: max-width .45s cubic-bezier(.2,.8,.2,1), height .35s, margin .35s, background .35s, border-color .35s, border-radius .35s, padding .35s; border: 1px solid transparent; }
.nav.is-scrolled { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.is-scrolled .nav-inner {
  max-width: 960px;
  height: 54px;
  margin-top: 10px;
  padding: 0 8px 0 16px;
  border-radius: 16px;
  border-color: var(--border);
  background: rgba(14, 11, 22, 0.66);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
}
@media (max-width: 820px) {
  .nav.is-scrolled .nav-links { top: 70px; }
}

/* Soft WebGL light behind page headers. */
.aurora {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--aurora-h, 620px);
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask: linear-gradient(to bottom, transparent 0, #000 70px, #000 55%, transparent 100%);
  mask: linear-gradient(to bottom, transparent 0, #000 70px, #000 55%, transparent 100%);
}
.aurora canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.aurora canvas.is-ready { opacity: var(--aurora-opacity, .9); }
.has-aurora { position: relative; isolation: isolate; }

/* Site-wide starfield canvas (starfield.js). */
.space-stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.space-stars.is-ready { opacity: 1; }

/* Faint dotted star-field. */
.starfield {
  position: absolute;
  inset: auto 0 0 0;
  height: 260px;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 90px 80px, rgba(196,181,253,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 150px 20px, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 210px 110px, rgba(255,255,255,.4), transparent 60%);
  background-size: 240px 140px;
  -webkit-mask: linear-gradient(to bottom, transparent, #000 45%, transparent);
  mask: linear-gradient(to bottom, transparent, #000 45%, transparent);
  animation: twinkle 6s ease-in-out infinite alternate, drift 60s linear infinite;
  opacity: .55;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .7; } }
@keyframes drift { to { background-position: 240px -140px; } }

/* Headline words rise and un-blur one after another. */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.38em);
  filter: blur(10px);
  animation: wordIn .9s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
  white-space: pre;
}
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
.gradient-text .word {
  background: linear-gradient(180deg, #ffffff 35%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Italic accent word with a slow light sweep. */
.accent {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.shimmer, .gradient-text .word.shimmer {
  background: linear-gradient(110deg, #b9a6ff 20%, #ffffff 40%, #d8ccff 50%, #9f86ff 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordIn .9s cubic-bezier(.2,.8,.2,1) forwards, shimmer 7s ease-in-out 1.2s infinite;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms), 1.4s;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 50% { background-position: 0% 0; } 100% { background-position: 100% 0; } }

/* Fade-up entrance for hero pieces. */
.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, .5s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Infinite marquee with faded edges. */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee var(--speed, 48s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 500 13px var(--mono);
  color: #d9d0ff;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.pill:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Cursor spotlight + glowing edge on glass cards. */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.spot::before {
  z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .13), transparent 45%);
}
.spot::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(196, 181, 253, .55), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot:hover { transform: translateY(-2px); }
.card.spot, .showcase.spot, .plan.spot, .step.spot { transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, background .25s; }

/* Gentle float for decorative panels. */
.float { animation: float 9s ease-in-out infinite; will-change: transform; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Button sheen on hover. */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Pulsing live dot. */
.live { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2.2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .word, .fade-up, .shimmer { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .marquee-track, .starfield, .float { animation: none !important; }
  .spot:hover { transform: none; }
}

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.eyebrow:has(.live)::before { display: none; }
.page-head.has-aurora { --aurora-h: 520px; --aurora-opacity: .7; margin-top: -64px; padding-top: 136px; }
.page-head.has-aurora .aurora { height: var(--aurora-h); }
.container.has-aurora > .aurora, .page-head.has-aurora > .aurora { left: 50%; right: auto; width: 100vw; transform: translateX(-50%); }
.section-head h2:first-child { margin-top: 0; }

/* Accent word: styled even before (or without) JavaScript. */
[data-split] em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #cbbcff;
  -webkit-text-fill-color: #cbbcff;
}
/* Hide split headings for the instant before site.js animates them in. */
.js [data-split]:not(.is-split) { visibility: hidden; }

/* ── Page loader (inner pages) ─────────────────────── */
.velora-preloader {
  position: fixed; inset: 0; z-index: 100000;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(157, 99, 255, .28), transparent 30%),
    radial-gradient(circle at 50% 54%, rgba(76, 232, 255, .12), transparent 42%),
    var(--bg);
  transition: opacity .75s ease, visibility .75s ease, filter .75s ease;
}
.velora-preloader::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(157, 99, 255, .18); box-shadow: 0 0 70px rgba(157, 99, 255, .18);
  animation: loaderRing 1.8s ease-in-out infinite;
}
.velora-loader-logo {
  width: clamp(82px, 12vw, 132px); height: clamp(82px, 12vw, 132px);
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 42px rgba(157, 99, 255, .42), 0 0 90px rgba(76, 232, 255, .18);
  animation: logoIntro 1.65s cubic-bezier(.18, .82, .18, 1) forwards;
  will-change: transform, filter, opacity;
}
.velora-loader-word {
  position: absolute; top: calc(50% + 96px);
  color: rgba(236, 243, 255, .78); font: 500 .75rem var(--mono);
  letter-spacing: .22em; text-transform: uppercase;
  animation: loaderText 1.3s ease both;
}
.velora-preloader.hide { opacity: 0; visibility: hidden; filter: blur(18px); pointer-events: none; }
/* Slow page: hold the logo on screen with a soft pulse, then burst away once loaded. */
.velora-preloader.waiting .velora-loader-logo { animation: logoHold 1.6s ease-in-out infinite; }
.velora-preloader.waiting .velora-loader-word { animation: none; opacity: .78; }
.velora-preloader.waiting .velora-loader-logo.burst { animation: logoBurst .45s ease-in forwards; }
@keyframes logoHold { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(1.06) rotate(180deg); opacity: .9; } }
@keyframes logoBurst { to { transform: scale(2.35) rotate(360deg); filter: blur(18px); opacity: 0; } }
@keyframes logoIntro {
  0% { transform: scale(.58) rotate(-180deg); filter: blur(16px); opacity: 0; }
  45% { transform: scale(1.08) rotate(28deg); filter: blur(0); opacity: 1; }
  72% { transform: scale(.98) rotate(190deg); filter: blur(0); opacity: 1; }
  100% { transform: scale(2.35) rotate(360deg); filter: blur(18px); opacity: 0; }
}
@keyframes loaderText {
  0%, 20% { opacity: 0; transform: translateY(10px); }
  55% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes loaderRing {
  0%, 100% { transform: scale(.9) rotate(0deg); opacity: .36; }
  50% { transform: scale(1.08) rotate(180deg); opacity: .82; }
}
/* Hold the page's own entrance animations until the loader lifts. */
html.preloading header *, html.preloading main * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .velora-preloader { display: none !important; } }

/* Inline slash-command chip (shared). */
.slash { font-family: var(--mono); font-size: .9em; color: #d6c8ff; background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; }

/* ── Legal pages ───────────────────────────────────── */
.legal { max-width: 46rem; margin: 0 auto; padding: 8px 0 72px; }
.legal .updated { color: var(--faint); font-size: 14px; margin: 0 0 28px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.02rem; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: #d6c8ff; text-decoration: underline; text-underline-offset: 3px; }
.legal .toc { padding: 18px 22px; margin: 0 0 8px; }
.legal .toc ol { margin: 6px 0 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.legal .toc li { margin: 3px 0; break-inside: avoid; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-top: 1px solid var(--border); vertical-align: top; color: var(--muted); }
.legal th { color: var(--text); font-weight: 600; }
.footer-note { width: 100%; margin: 6px 0 0; font-size: 12px; color: var(--faint); }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } .legal table { font-size: 13px; } }

/* Looping decorations pause while scrolled out of view (site.js adds .is-offscreen). */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }
