:root {
  --bg: #f7f2ea;
  --paper: #fffdf8;
  --paper-soft: #fbf7ef;
  --text: #2c2925;
  --muted: #756d63;
  --line: #e5d8c8;
  --accent: #3f6f5f;
  --accent-soft: #dfece5;
  --shadow: 0 22px 60px rgba(77, 61, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.48), transparent 280px),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 34px 0 20px;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.site-kicker,
.eyebrow,
.post-meta {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.header-note {
  max-width: 360px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  padding: 64px 0 46px;
}

.hero-copy {
  padding: 54px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-copy h2 {
  max-width: 680px;
  margin: 12px 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-card {
  align-self: stretch;
  padding: 34px 30px;
  background: var(--accent);
  color: #fffdf8;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.card-date {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.36);
  border-radius: 999px;
  font-size: 13px;
}

.hero-card h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
}

.hero-card li + li {
  margin-top: 10px;
}

.section-block {
  padding: 38px 0 52px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2,
.two-column h2 {
  margin: 8px 0 0;
  font-size: 30px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  min-height: 220px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.post-card h3 {
  margin: 12px 0 12px;
  font-size: 21px;
  line-height: 1.42;
}

.post-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 46px;
  padding: 34px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.two-column p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.site-footer {
  padding: 30px 20px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 8px;
}

.record span + span {
  margin-left: 8px;
}

@media (max-width: 840px) {
  .header-inner,
  .section-head,
  .two-column {
    display: block;
  }

  .header-note {
    margin-top: 8px;
    text-align: left;
  }

  .hero,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 34px 26px;
  }

  .section-block {
    padding-top: 24px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    padding-top: 24px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy p:last-child {
    font-size: 16px;
  }

  .post-card,
  .two-column {
    padding: 24px;
  }
}

