/* INAVI holding landing — direction 3a. Tokens live in tokens.css.
 * Reference: docs/design/inavi-landing/ · Spec:
 * docs/superpowers/specs/2026-07-10-inavi-landing-redesign-3a-design.md */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', 'Noto Sans Georgian', system-ui, sans-serif;
  background: var(--page-bg);
  color: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background-color 0.4s ease,
    color 0.35s ease;
}
:lang(ka) {
  letter-spacing: 0;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.hero :focus-visible {
  outline-color: #fff;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--btn-bg);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
}
.skip:focus {
  left: 0;
}
section {
  scroll-margin-top: 16px;
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease;
}
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(26px, 3.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.sec-lead {
  margin-top: 14px;
  color: var(--text-muted);
  max-width: 620px;
  font-size: 16px;
}

/* ===== Scroll reveal (JS-applied; no-JS users see everything) ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.tiles > .reveal:nth-child(2),
.plat > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.tiles > .reveal:nth-child(3),
.plat > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.tiles > .reveal:nth-child(4),
.plat > .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* ===== Keyframes ===== */
@keyframes cue {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4%, -3%) scale(1.1);
  }
}
