/* Зарина Токенова — Kaspi landing
   Global styles. Per-section layout lives as inline styles on the markup
   (kept verbatim from the source design for a pixel-faithful result). */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #6E0C10;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1A1414;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { -webkit-tap-highlight-color: transparent; }

/* Gentle float used by the primary CTA buttons (animation:floaty …) */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* Keyboard focus visibility for interactive elements */
a:focus-visible,
[data-faq-head]:focus-visible {
  outline: 3px solid #FF8A8A;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Make sure reveal-animated content is never left hidden */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
