*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #f7f4ef;
  color: #1a1814;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  line-height: 1.7;
  font-size: 1rem;
}

a.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-family: 'PT Serif', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  color: #1a1814;
  text-decoration: none;
}

h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.meta {
  color: #8a857c;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

hr {
  border: none;
  border-top: 1px solid #ddd8d0;
  margin: 1.5rem 0;
}

a {
  color: #1a1814;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

th {
  font-weight: 600;
}

strong {
  font-weight: 600;
}

/* Footer navigation */
.footer-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd8d0;
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-nav a {
  color: #8a857c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #1a1814;
}

/* Responsive table */
@media (max-width: 640px) {
  body {
    padding: 2rem 1.25rem 3rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  table {
    font-size: 0.82rem;
  }

  th, td {
    padding: 0.5rem 0.5rem;
  }

  .footer-nav {
    gap: 1rem;
    font-size: 0.8rem;
  }
}
