*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--amazeta-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--amazeta-text);
  background: var(--amazeta-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amazeta-accent);
  text-decoration: none;
  transition: color var(--amazeta-transition);
}

a:hover {
  color: #5eead4;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--amazeta-accent);
  color: var(--amazeta-bg);
  font-weight: 600;
  border-radius: var(--amazeta-radius);
  transition: top var(--amazeta-transition);
}

.skip-link:focus {
  top: 1rem;
}

.amazeta-section {
  max-width: var(--amazeta-max);
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}

.amazeta-section__lead {
  text-align: center;
  color: var(--amazeta-muted);
  max-width: 60ch;
  margin: 0 auto 3rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.amazeta-section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 0.75rem;
}

.amazeta-section__subtitle {
  text-align: center;
  color: var(--amazeta-muted);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}
