/* motion tokens: see the skill's reference/motion.md before adding any animation */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dir: 1;
}

[dir="rtl"] {
  --dir: -1;
}

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

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--background);
  color: #171717;
  line-height: 1.6;
}

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

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.stack > * + * {
  margin-block-start: 1rem;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.center {
  text-align: center;
}

.site-header,
.site-footer {
  padding-block: 1.25rem;
}

.logo {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding-block: 4rem;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}
