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

body {
  margin: 1.5rem;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

body > * + * {
  margin-top: 1rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  padding-bottom: 0.25em;
  border-bottom: 2px solid #10b981;
  display: inline-block;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

p {
  line-height: 1.6;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
  align-items: center;
}

.site-nav a {
  color: #0f172a;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.section ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

button {
  cursor: pointer;
  font: inherit;
}

.btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.4em 0.8em;
  transition: background .2s, box-shadow .2s;
}

.btn:hover {
  background: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
