:root {
  --background: #fff;
  --text: #111;
  --muted: #555;
  --border: #ddd;
  --measure: 72ch;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text);
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", "Inter", system-ui, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin-top: 2.2rem;
}

p,
ul,
ol,
blockquote,
pre,
table {
  margin: 0 0 1.2rem;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

.shell {
  width: min(94vw, var(--measure));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  margin-bottom: 2rem;
}

.site-title {
  font-family: "Outfit", "Inter", system-ui, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.post-list,
.taxonomy-list,
.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list > li {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.post-description {
  color: var(--muted);
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.post-content blockquote {
  border-left: 3px solid var(--text);
  margin-left: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pagination {
  margin: 2rem 0 1rem;
  display: flex;
  justify-content: space-between;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 10;
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
    line-height: 1.68;
  }

  .site-header {
    margin-bottom: 1.5rem;
  }
}
