::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 7rem; }
.font-oswald { font-family: 'Oswald', sans-serif !important; }
.font-bricolage { font-family: 'Bricolage Grotesque', sans-serif !important; }
.font-space { font-family: 'Space Grotesk', sans-serif !important; }
.font-space-mono { font-family: 'Space Mono', ui-monospace, monospace !important; }

@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes blurIn { 0% { opacity: 0; filter: blur(15px); transform: scale(0.95); } 100% { opacity: 1; filter: blur(0); transform: scale(1); } }
.scroll-item { animation-duration: 0.8s; animation-fill-mode: both; animation-play-state: paused; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.scroll-fade-up { animation-name: fadeInUp; }
.scroll-blur-in { animation-name: blurIn; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.scroll-item.in-view { animation-play-state: running; }

@keyframes beam-spin { to { transform: rotate(360deg); } }
@keyframes lines-slide { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }
@keyframes draw-path-loop { 0% { stroke-dashoffset: 1000; opacity: 0; } 5% { opacity: 1; } 40% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fade-in-up-loop { 0% { opacity: 0; } 20% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes beam-rise { 0%, 100% { opacity: 0.28; transform: scaleY(0.72); } 50% { opacity: 0.95; transform: scaleY(1); } }
@keyframes horizon-breathe { 0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }
@keyframes curtain-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(22px); } }
@keyframes aurora { 0% { transform: translate3d(-8%, -6%, 0) scale(1); } 50% { transform: translate3d(6%, 8%, 0) scale(1.08); } 100% { transform: translate3d(-8%, -6%, 0) scale(1); } }

.finex-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse 70% 55% at 50% 72%, rgba(88, 28, 135, 0.55), transparent 68%), radial-gradient(ellipse 46% 42% at 50% 78%, rgba(249, 115, 22, 0.38), transparent 64%); mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%); }
.finex-horizon { position: absolute; left: 50%; top: 28%; width: 160%; height: 78%; background: radial-gradient(ellipse 26% 38% at 50% 72%, rgba(255, 214, 170, 0.9), transparent 70%), radial-gradient(ellipse 40% 52% at 50% 74%, rgba(244, 114, 182, 0.62), transparent 72%), radial-gradient(ellipse 68% 70% at 50% 80%, rgba(124, 58, 237, 0.62), transparent 74%), radial-gradient(ellipse 96% 88% at 50% 88%, rgba(37, 99, 235, 0.34), transparent 76%); filter: blur(10px); animation: horizon-breathe 9s ease-in-out infinite; }
.finex-curtains { position: absolute; inset: 0; animation: curtain-drift 16s ease-in-out infinite; }
.finex-beam { position: absolute; bottom: 6%; width: 18px; border-radius: 999px; transform-origin: bottom center; background: linear-gradient(to top, rgba(255, 236, 214, 0.95), rgba(192, 132, 252, 0.55) 22%, rgba(99, 102, 241, 0.18) 58%, transparent 100%); filter: blur(7px); animation: beam-rise 5.5s ease-in-out infinite; }
.fold-seam { height: 72px; background: linear-gradient(180deg, transparent, rgba(124,58,237,0.18), rgba(249,115,22,0.16), transparent); }
.glass-panel { background: rgba(10, 10, 12, 0.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px rgba(0,0,0,0.35); }
.animate-draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-path-loop 6s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.animate-fade-up { opacity: 0; animation: fade-in-up-loop 6s ease-out infinite; }
.deck-line { vector-effect: non-scaling-stroke; }
.stars { background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 40px 70px, #fff, transparent), radial-gradient(1.5px 1.5px at 90px 40px, #fff, transparent), radial-gradient(1px 1px at 130px 80px, #fff, transparent); background-size: 200px 200px; opacity: 0.28; animation: lines-slide 18s linear infinite; }
.grid-bg { background-image: linear-gradient(to right, #ffffff05 1px, transparent 1px), linear-gradient(to bottom, #ffffff05 1px, transparent 1px); background-size: 24px 24px; }
[style*="--border-gradient"]::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: var(--border-radius-before, inherit); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; background: var(--border-gradient); pointer-events: none; }
.flow-arrow { color: rgba(249,115,22,0.7); }

@keyframes glass-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

article.glass-panel {
  position: relative;
  isolation: isolate;
  --mx: 50%;
  --my: 18%;
  animation: glass-float 8.6s ease-in-out infinite;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

article.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255, 214, 170, 0.22), rgba(249, 115, 22, 0.1) 26%, rgba(168, 85, 247, 0.06) 42%, transparent 58%);
}

article.glass-panel > * { position: relative; z-index: 1; }

article.glass-panel:hover {
  animation: none;
  transform: translate3d(0, -8px, 0);
  border-color: rgba(249, 115, 22, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(249, 115, 22, 0.38);
}

article.glass-panel:hover::after { opacity: 1; }

article.glass-panel:nth-child(2) { animation-duration: 9.4s; animation-delay: -1.7s; }
article.glass-panel:nth-child(3) { animation-duration: 7.8s; animation-delay: -3.2s; }
article.glass-panel:nth-child(4) { animation-duration: 10s; animation-delay: -4.6s; }
article.glass-panel:nth-child(5) { animation-duration: 8.1s; animation-delay: -0.9s; }
article.glass-panel:nth-child(6) { animation-duration: 9.7s; animation-delay: -2.5s; }

@media (prefers-reduced-motion: reduce) {
  article.glass-panel { animation: none; }
  article.glass-panel:hover { transform: none; }
}

.nav-lockup { height: 40px; width: auto; display: block; }
@media (min-width: 640px) { .nav-lockup { height: 44px; } }
.footer-lockup { height: 32px; width: auto; display: block; }

/* Homepage header: wordmark sits outside the rounded nav pill. */
.site-nav {
  display: flex;
  width: 100%;
  max-width: 72rem;
  align-items: center;
  gap: 0.85rem 1rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 46%;
  line-height: 0;
}
.nav-lockup-hero {
  display: block;
  width: 165px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.site-nav-pill { min-width: 0; }
@media (max-width: 860px) {
  .nav-lockup-hero { width: 140px; }
}
@media (max-width: 640px) {
  .site-nav { flex-wrap: wrap; row-gap: 0.65rem; }
  .nav-brand { flex: 1 0 100%; max-width: none; }
  .nav-lockup-hero { width: 147px; max-width: 78vw; }
  .site-nav-pill { flex: 1 0 100%; width: 100%; }
  #hero { padding-top: 13.5rem; }
}

.lang-switch { display: flex; align-items: center; gap: 0.35rem; font-family: "Space Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; }
.lang-switch a { color: rgba(255,255,255,0.38); }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="page"] { color: #fff; }
.lang-switch span { color: rgba(255,255,255,0.25); }

.nav-ghost, .nav-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .nav-ghost, .nav-solid { height: 38px; padding: 0 1rem; font-size: 13px; }
}
@media (max-width: 380px) {
  .nav-lockup { height: 36px; }
  .nav-ghost, .nav-solid { height: 32px; padding: 0 0.55rem; font-size: 11px; }
}
.nav-ghost { border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); background: transparent; }
.nav-ghost:hover { background: rgba(255,255,255,0.06); }
.nav-solid { background: #ea580c; color: #fff; box-shadow: 0 0 20px rgba(249,115,22,0.45); }
.nav-solid:hover { background: #f97316; }

.mark-tile {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.auth-input {
  width: 100%;
  margin-top: 0.5rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  color: #fff;
  outline: none;
}
.auth-input:focus { border-color: rgba(249,115,22,0.75); }
