:root {
  --fls-brand: #18181b;
  --fls-accent: #7c3aed;
  --fls-accent-dark: #6d28d9;
  --fls-highlight: #06b6d4;
  --fls-canvas: #fafafa;
  --fls-ink: #09090b;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--fls-canvas);
}

.font-display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.fls-hero-dark {
  background: linear-gradient(135deg, #09090b 0%, #27272a 55%, #3f3f46 100%);
  color: #f4f4f5;
}

.fls-hero-banner img {
  width: 100%;
  min-height: 14rem;
  max-height: 22rem;
  object-fit: cover;
  opacity: 0.85;
}

.fls-stat-bar {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
}
.fls-stat-bar > div {
  flex: 1 1 33%;
  min-width: 7rem;
  padding: 1rem;
  text-align: center;
  border-right: 1px solid rgba(9, 9, 11, 0.06);
}
.fls-stat-bar > div:last-child {
  border-right: none;
}

.fls-nav-pill {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 9999px;
  background: var(--fls-canvas);
  border: 1px solid rgba(9, 9, 11, 0.08);
}
.fls-nav-pill a {
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #52525b;
  transition: background 0.2s, color 0.2s;
}
.fls-nav-pill a:hover {
  background: #fff;
  color: var(--fls-brand);
}
.fls-nav-pill a[aria-current='page'] {
  background: var(--fls-accent);
  color: #fff;
  font-weight: 600;
}
.fls-nav-pill a.fls-nav-cta {
  background: var(--fls-brand);
  color: #fff;
}
.fls-nav-pill a.fls-nav-cta:hover {
  background: #27272a;
}

.fls-value-row {
  border-left: 3px solid var(--fls-accent);
  padding-left: 1rem;
}

.fls-cap-thumb {
  width: 6.5rem;
  min-width: 6.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.375rem;
  background: var(--fls-brand);
}
.fls-cap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fls-stack-pill {
  display: inline-flex;
  border-radius: 0.25rem;
  background: var(--fls-accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'IBM Plex Sans', monospace;
}

.fls-animate {
  opacity: 1;
  transform: none;
}
.fls-js .fls-animate {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.fls-js .fls-animate.fls-animate-visible {
  opacity: 1;
  transform: none;
}
.fls-animate[data-fls-delay='1'] { transition-delay: 0.08s; }
.fls-animate[data-fls-delay='2'] { transition-delay: 0.16s; }
.fls-animate[data-fls-delay='3'] { transition-delay: 0.24s; }

.fls-cap-hint {
  color: var(--fls-accent);
  font-weight: 600;
  font-size: 0.8125rem;
}

.fls-cap-panel.fls-hidden {
  display: none;
}
.fls-cap-panel {
  margin-top: 1.5rem;
  animation: fls-panel-in 0.35s ease;
}
@keyframes fls-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.fls-cap-panel-cover {
  min-height: 12rem;
  background: var(--fls-brand);
}
.fls-cap-panel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fls-cap-card-active {
  outline: 2px solid var(--fls-accent);
  outline-offset: 2px;
  background: #faf5ff;
}

.fls-contact-box {
  border: 2px solid var(--fls-brand);
  border-radius: 0.5rem;
  background: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--fls-accent);
  border-radius: 4px;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 4.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fls-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .fls-cap-panel { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
