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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--color-ink);
  background: var(--color-bg);
}

h1,
h2,
h3 {
  line-height: var(--leading-heading);
  color: var(--color-brand-strong);
  text-wrap: pretty;
}

h1 {
  font-size: var(--text-h1);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
}

h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-accent-strong);
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

main {
  flex: 1;
}

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.7rem);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .card-grid [data-reveal]:nth-child(2),
.js .product-pair [data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

.js .card-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.18s;
}

.js .card-grid [data-reveal]:nth-child(4) {
  transition-delay: 0.26s;
}

.js .card-grid [data-reveal]:nth-child(5) {
  transition-delay: 0.34s;
}

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

  .whatsapp,
  .hero__field,
  .hero__field::after,
  .hero__glow,
  .hero__scene,
  .hero__visual-frame,
  .js .hero__copy > *,
  .js .hero__visual-frame img,
  .js [data-reveal],
  .nav-toggle__bar,
  .nav-toggle__bar::before,
  .nav-toggle__bar::after {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
