* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #222;
  font-family: sans-serif;
  line-height: 1.6;
}

.site-header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header nav form {
  display: inline;
  max-width: none;
}

.site-header nav button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

.container {
  width: min(960px, calc(100% - 2rem));
  margin: 2rem auto;
}

.intro {
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  display: block;
  padding: 1rem;
  border: 1px solid #ddd;
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.button,
button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #222;
  background: #222;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.6rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

form {
  max-width: 600px;
}

label {
  display: block;
  margin-top: 1rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #aaa;
  font: inherit;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.required,
.error,
.status {
  color: #a00;
}

.project-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1rem;
}

.project-meta dt {
  font-weight: bold;
}

.project-meta dd {
  margin: 0;
}

section {
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}