:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #25211d;
  background: #f4eddf;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  line-height: 1.75;
}

a {
  color: #587947;
  text-underline-offset: 3px;
}

.site-header,
main,
.site-footer {
  width: min(760px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 18px;
  border-bottom: 1px solid #dfd3c0;
}

.brand {
  color: #25211d;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

main {
  padding: 44px 0 52px;
}

h1,
h2 {
  line-height: 1.35;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 7vw, 46px);
  letter-spacing: -.04em;
}

h2 {
  margin: 36px 0 8px;
  font-size: 21px;
}

p,
li {
  color: #514a42;
}

.lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: #6e8b5c;
  font-size: 18px;
}

.home-main {
  width: min(920px, calc(100% - 36px));
}

.hero {
  padding: 34px 0 56px;
}

.eyebrow,
.post-meta,
.section-heading span {
  color: #7b6b58;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid #dfd3c0;
}

.section-heading h2 {
  margin: 0 0 12px;
}

.post-list {
  display: grid;
  gap: 14px;
}

.post-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid #dfd3c0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .46);
}

.post-card.featured {
  background: #25211d;
}

.post-card h3 {
  margin: 4px 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.post-card p {
  max-width: 650px;
  margin: 0;
}

.post-card.featured h3,
.post-card.featured p {
  color: #f4eddf;
}

.post-index {
  align-self: flex-start;
  color: #b9aa95;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 22px;
}

.about-card {
  margin-top: 48px;
  padding: 28px;
  border-radius: 18px;
  background: #dfebd3;
}

.about-card h2 {
  margin-top: 5px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
}

.meta,
.notice,
.contact-card {
  padding: 18px 20px;
  border: 1px solid #dfd3c0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .48);
}

.meta p,
.contact-card p {
  margin: 2px 0;
}

.notice {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 22px 0 36px;
  border-top: 1px solid #dfd3c0;
  color: #746c62;
  font-size: 13px;
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 12px;
  }

  main {
    padding-top: 32px;
  }

  .hero {
    padding-top: 18px;
  }

  .post-card {
    padding: 20px;
  }
}
