:root {
  --canvas: #ffffff;
  --surface: #f6f5f4;
  --surface-soft: #fafaf9;
  --hairline: #e5e3df;
  --hairline-strong: #c8c4be;
  --ink: #1a1a1a;
  --charcoal: #37352f;
  --slate: #5d5b54;
  --steel: #787671;
  --muted: #bbb8b1;
  --primary: #5645d4;
  --lavender: #e6e0f5;
  --peach: #ffe8d4;
  --mint: #d9f3e1;
  --sky: #dcecfa;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(246, 245, 244, 0.8) 0, rgba(255, 255, 255, 0) 300px),
    var(--canvas);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(16px);
}

.nav-shell {
  align-items: center;
  display: flex;
  height: 64px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 820px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 650;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: white;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.nav-links {
  display: none;
}

.list-page {
  margin: 0 auto;
  max-width: 820px;
  padding: 72px 24px 56px;
}

.archive-header {
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 18px;
  padding-bottom: 36px;
}

.eyebrow {
  color: var(--steel);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 650;
  line-height: 1.08;
  margin-bottom: 16px;
}

.archive-intro {
  color: var(--slate);
  font-size: 18px;
  margin: 0;
}

.article-list {
  display: grid;
  gap: 2px;
}

.article-row {
  align-items: start;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 18px 12px;
  transition: background-color 160ms ease;
}

.article-row:hover {
  background: var(--surface-soft);
}

.article-date {
  color: var(--steel);
  font-size: 14px;
  padding-top: 2px;
  white-space: nowrap;
}

.article-title {
  color: var(--charcoal);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  margin-bottom: 6px;
}

.article-title a:hover {
  color: var(--primary);
}

.article-summary {
  color: var(--slate);
  margin-bottom: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  border-radius: 6px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  padding: 3px 8px;
}

.tag.lavender {
  background: var(--lavender);
  color: #391c57;
}

.tag.mint {
  background: var(--mint);
  color: #1aae39;
}

.tag.peach {
  background: var(--peach);
  color: #793400;
}

.tag.sky {
  background: var(--sky);
  color: #005bab;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--hairline);
  color: var(--steel);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 820px;
  padding: 28px 24px 40px;
}

@media (max-width: 640px) {
  .nav-shell {
    height: auto;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .list-page {
    padding: 52px 20px 40px;
  }

  .article-row {
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 18px 8px;
  }

  .article-date {
    font-size: 13px;
  }

  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
