@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #07130d;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(37, 211, 102, 0.16), transparent 24rem),
    radial-gradient(circle at 85% 10%, rgba(255, 214, 107, 0.1), transparent 18rem),
    linear-gradient(180deg, #07130d 0%, #08160f 30%, var(--color-bg) 100%);
  line-height: 1.66;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-display-xl);
}

h2 {
  font-size: var(--text-display-lg);
}

h3 {
  font-size: var(--text-heading-md);
}

p {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-body-md);
  max-width: 68ch;
  text-wrap: pretty;
}

strong {
  color: var(--color-text);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .client-marquee__track {
    animation: none !important;
  }
}

@media (max-width: 960px) {
  body {
    font-size: 1rem;
    line-height: 1.58;
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.36rem, 6.2vw, 1.82rem);
  }

  p {
    font-size: 1rem;
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  50% {
    transform: translateY(-6px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card.reveal.in-view,
.hero-card.reveal.in-view,
.tool-card.reveal.in-view,
.case-card.reveal.in-view,
.testimonial-card.reveal.in-view,
.resource-card.reveal.in-view {
  animation: premium-card-settle 720ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

@keyframes premium-card-settle {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.965);
    filter: blur(5px);
  }

  58% {
    opacity: 1;
    transform: translateY(-3px) scale(1.006);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
