:root {
  font-family: system-ui, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

body {
  max-width: 70rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

header {
  max-width: 46rem;
  margin-bottom: 3rem;
}

header img {
  border-radius: 1rem;
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

section {
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
}

section h3 {
  margin-top: 0;
}

a {
  color: #222;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

footer {
  margin-top: 3rem;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}
