/* SideView promo — globals, reveal, chips, hovers.
   Section/component layout lives inline in index.html (ported from the design). */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
img {
  display: block;
  max-width: 100%;
}
body {
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
}
::selection {
  background: rgba(94, 200, 255, 0.3);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, 6%) scale(1.08); }
  66% { transform: translate(-5%, 3%) scale(0.95); }
}
@keyframes slideInOut {
  0%, 12% { transform: translateX(0); }
  30%, 52% { transform: translateX(-101%); }
  72%, 100% { transform: translateX(0); }
}
@keyframes nudge {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.9; }
  50% { transform: translateY(-50%) translateX(7px); opacity: 1; }
}

/* Scroll reveal — only hidden when JS is active, so it degrades gracefully.
   Per-element transition-delay (the stagger) is set inline in the HTML. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* App chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 980px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.09);
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
}
.chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, #888);
  box-shadow: 0 0 9px var(--c, #888);
}

/* Hovers (override the inline base styles, hence !important where they collide). */
.nav-link:hover {
  opacity: 1 !important;
}
.btn-c:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 42px rgba(80, 200, 255, 0.5) !important;
}
.btn-g:hover {
  background: rgba(255, 255, 255, 0.13) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34) !important;
}
.fig:hover {
  transform: translateY(-8px);
}
.foot-link:hover {
  color: #1d1d1f !important;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
