/* Kiplio studio — tokens lock to the dark clay system */

@font-face {
  font-family: "RoyaleDisplay";
  src: url("fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0f13;
  --accent: #c6ff3e;
  --header-h: 4.25rem;
}

html {
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-h) + 0.85rem);
  background: var(--bg);
}

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

.font-display {
  font-family: "RoyaleDisplay", "Archivo Black", sans-serif;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: #f5f7fa;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.float-y {
  animation: float 4.8s ease-in-out infinite;
}

.glow {
  box-shadow: 0 6px 20px rgba(198, 255, 62, 0.35), 0 2px 18px rgba(139, 92, 246, 0.2);
}

.site-header.is-scrolled {
  background: rgba(14, 15, 19, 0.92);
}

[data-nav-panel] {
  background: #0e0f13;
  z-index: 50;
}

.site-header.nav-open {
  background: #0e0f13;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mode-ios {
  background: linear-gradient(145deg, #3ddc97, #1fa2a0);
}

.mode-android {
  background: linear-gradient(145deg, #ffb347, #ff7a45);
}

.mode-design {
  background: linear-gradient(145deg, #b794f6, #7c3aed);
}

.mode-ops {
  background: linear-gradient(145deg, #ff8a80, #e53935);
}

html.golden .float-y,
html.golden .hero-aura {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .float-y,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
