/* Servano AS — Base / reset */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

main {
  padding-top: var(--nav-height);
}

.reveal-ready,
.anim-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-std) var(--ease-out),
              transform var(--dur-std) var(--ease-out);
}

.reveal-ready.visible,
.anim-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready,
  .anim-ready,
  .hero-stage,
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal-ready,
  .anim-ready {
    opacity: 1;
    transform: none;
  }
}
