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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #f5f7fb;
  color: #1f2a44;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.page__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #697386;
  margin: 0 0 8px;
}

h1 {
  font-size: 2.5rem;
  margin: 0 0 12px;
}

.page__subhead {
  margin: 0;
  color: #4e5d78;
  max-width: 580px;
}

.page__meta {
  font-size: 0.9rem;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 6px;
  min-width: 220px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: #4e5d78;
}

.search input {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d5dbe7;
  min-width: 260px;
  font-size: 0.95rem;
}

.search select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d5dbe7;
  min-width: 220px;
  font-size: 0.95rem;
  background: #fff;
}

.card {
  background: #ffffff;
  padding: 8px 0;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

#downloads-sections {
  display: grid;
  gap: 20px;
}

.downloads {
  width: 100%;
  border-collapse: collapse;
}

.downloads-category__header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #e6ebf2;
}

.downloads-category__header h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.downloads th,
.downloads td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.95rem;
}

.downloads thead {
  background: #f1f4f9;
  color: #3b4b66;
}

.downloads tbody tr:nth-child(even) {
  background: #f9fbfe;
}

.artifact-name {
  font-weight: 600;
}

.artifact-description {
  font-size: 0.875rem;
  color: #4e5d78;
  max-width: 380px;
  display: inline-block;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1d4ed8;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.2);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.24);
}

@media (max-width: 860px) {
  .page__header {
    flex-direction: column;
  }

  .toolbar {
    justify-content: stretch;
  }

  .search {
    width: 100%;
  }

  .search input,
  .search select {
    min-width: 0;
    width: 100%;
  }

  #downloads-sections {
    gap: 14px;
  }

  .downloads-category__header {
    padding: 12px 14px;
  }

  .downloads th:nth-child(3),
  .downloads td:nth-child(3),
  .downloads th:nth-child(4),
  .downloads td:nth-child(4) {
    display: none;
  }
}
