:root {
  font-family: system-ui, sans-serif;
  color: #17263d;
  background: #f4f6fa;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid #d9e1ed; }
.top-inner, nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.top-inner { justify-content: space-between; padding-block: 1rem; }
.brand { font-size: 1.5rem; font-weight: 850; letter-spacing: -.05em; }
.brand span { color: #146e60; }
.brand, nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero {
  margin-block: 1.5rem 2rem;
  padding: clamp(1.6rem, 6vw, 4rem);
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at right top, #168477, #102b43 78%);
  color: #fff;
}
h1, h2, h3 { line-height: 1.1; }
h1 { margin: 0; max-width: 14ch; font-size: clamp(2.35rem, 7vw, 5rem); letter-spacing: -.065em; }
.hero p { margin: 1rem 0 0; color: #dcecff; }
.filters, .products { display: grid; gap: 1rem; }
.filters { grid-template-columns: 2fr 1fr 1fr; }
label { display: grid; gap: .35rem; font-weight: 650; }
input, select {
  width: 100%; min-height: 3rem; padding: .65rem .8rem;
  font: inherit; color: inherit; background: white; border: 1px solid #8d9bb0; border-radius: .55rem;
}
select {
  appearance: none;
  padding-right: 2.1rem;
  background-repeat: no-repeat;
  background-image: linear-gradient(45deg, transparent 50%, #17263d 50%), linear-gradient(135deg, #17263d 50%, transparent 50%);
  background-position: right 1.12rem center, right .77rem center;
  background-size: .35rem .35rem;
}
:focus-visible { outline: 3px solid #0074ba; outline-offset: 3px; }
#status { background: #e6edf7; border-radius: .55rem; padding: .9rem 1rem; }
.products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.product {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .8rem; background: #fff; border: 1px solid #d9e1ed; border-radius: .85rem; padding: 1.25rem;
  overflow-wrap: anywhere;
}
.product h3, .product p { margin: 0; }
.product img { width: 100%; height: 12rem; object-fit: contain; }
.product .meta { font-size: .875rem; color: #445670; }
.product a { margin-top: auto; border-radius: .5rem; padding: .65rem .85rem; background: #146e60; color: white; font-weight: 700; text-decoration: none; }
.product a:hover { background: #10594f; }
footer { background: #e6edf7; margin-top: 3rem; padding-block: 1.6rem; }
footer h2 { font-size: 1.15rem; }
footer p { max-width: 68ch; }
@media (max-width: 650px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) { .filters { grid-template-columns: 1fr; } }
