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

body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.65;
  padding: 3rem 1.5rem;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 780px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Hedvig Letters Serif", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #111;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.summary {
  background: #f8f8f7;
  border-left: 3px solid #ddd;
  padding: 0.85rem 1.1rem;
  margin: 0.75rem 0 1.5rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}

p,
ul,
ol,
blockquote,
table {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-left: 1.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

th {
  font-weight: 600;
  color: #111;
  border-bottom: 2px solid #ccc;
}

tr:last-child td {
  border-bottom: none;
}

.subtitle {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

a {
  color: #1a1a1a;
}

a:hover {
  color: #555;
}

a[target="_blank"]::after {
  content: "\2197";
  font-size: 0.75em;
  margin-left: 0.15em;
}

.footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.footer a {
  font-family: "Hedvig Letters Serif", serif;
  font-size: 0.85rem;
  color: #777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #1a1a1a;
}

.footer-sep {
  display: inline-block;
  width: 1rem;
  height: 1px;
  background: #ccc;
  vertical-align: middle;
  margin: 0 0.4rem;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

@media (max-width: 600px) {
  body {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}
