@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --background: #f9f9f9;
  --card: #ffffff;
  --text: #333333;
  --muted: #666666;
  --accent: #f6da49;
  --border: rgba(51, 51, 51, 0.1);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  padding: 24px 0;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  font: 700 1.35rem/1 "Bricolage Grotesque", sans-serif;
}

.products {
  width: min(100%, 760px);
  margin: 90px auto 0;
  padding-bottom: 140px;
}

.products > h2 {
  margin: 0 0 18px;
  font: 600 1.15rem/1.2 "Bricolage Grotesque", sans-serif;
}

.product-card {
  position: relative;
  display: block;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 218, 73, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.status {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #23834a;
  background: #edf9f1;
  font-size: 0.72rem;
  font-weight: 600;
}

.product-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 60px;
}

.product-heading img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.product-heading h3 {
  margin: 0 0 4px;
  font: 600 1.35rem/1.2 "Bricolage Grotesque", sans-serif;
}

.product-heading p,
.product-description {
  color: var(--muted);
}

.product-heading p {
  margin: 0;
  font-size: 0.9rem;
}

.product-description {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  align-items: flex-end;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  text-align: right;
}

#contact-email a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(102, 102, 102, 0.35);
  text-underline-offset: 3px;
}

#contact-email a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .site-header {
    padding: 20px 0;
  }

  .wordmark {
    font-size: 1.15rem;
  }

  .products {
    margin-top: 70px;
    padding-bottom: 100px;
  }

  .product-card {
    padding: 22px;
  }

  .product-heading {
    align-items: flex-start;
    padding-right: 40px;
  }

  .product-heading img {
    width: 44px;
    height: 44px;
  }

  .status {
    top: 18px;
    right: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}
