* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafc;
  color: #0f172a;
  font-family: Arial, sans-serif;
}

.navbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

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

.navbar nav {
  display: flex;
  gap: 16px;
  justify-self: center;
}

.navbar nav a {
  color: #334155;
  text-decoration: none;
}

main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.page-head {
  margin-bottom: 32px;
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}

.page-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
}

.set-list {
  display: grid;
  gap: 16px;
}

.set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.label {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.set-row h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.summary {
  margin: 0;
  color: #475569;
}

.open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: #0f172a;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  .navbar {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .set-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
