:root {
  --ink: #111b18;
  --muted: #65716c;
  --paper: #f5f5ef;
  --surface: #ffffff;
  --line: #d8ddd8;
  --accent: #bbff3c;
  --accent-dark: #5d8f00;
  --night: #14231e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1120px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .14em; font-size: 13px; }
.brand > span:last-child { display: grid; gap: 1px; }
.brand small { color: var(--muted); font-size: 8px; letter-spacing: .28em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--night); color: var(--accent); font-weight: 750; }
nav { display: flex; align-items: center; gap: 30px; color: #48534f; font-size: 14px; }
nav a:hover { color: var(--ink); }
.back-home { border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; background: #ffffffa8; }

main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 610px; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 65px; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font: 650 11px ui-monospace, monospace; letter-spacing: .16em; }
.eyebrow span { width: 30px; height: 1px; background: var(--accent-dark); }
.hero h1 { margin: 30px 0 28px; max-width: 880px; font-size: clamp(58px, 8vw, 104px); line-height: .94; letter-spacing: -.07em; font-weight: 650; }
.hero h1 em { color: var(--accent-dark); font-style: normal; }
.hero-copy { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-meta { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 42px; color: #7b867f; font: 10px ui-monospace, monospace; letter-spacing: .13em; }

.latest { padding: 105px 0; border-top: 1px solid var(--line); }
.section-title { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 42px; }
.section-title p { margin: 0; color: var(--accent-dark); font: 650 10px ui-monospace, monospace; letter-spacing: .15em; }
.section-title h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.05em; }
.post-card { min-height: 300px; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; box-shadow: 0 24px 60px #14231e0c; }
.post-card + .post-card { margin-top: 16px; }
a.post-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.post-card:hover, a.post-card:focus-visible { transform: translateY(-4px); border-color: #b8c1ba; box-shadow: 0 30px 70px #14231e17; }
.post-number { color: #89938e; font: 12px ui-monospace, monospace; }
.post-meta { display: flex; gap: 18px; color: var(--muted); font: 10px ui-monospace, monospace; letter-spacing: .1em; }
.post-meta span { color: var(--accent-dark); }
.post-body h3 { margin: 26px 0 18px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; }
.post-body p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.85; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags span { padding: 7px 10px; border-radius: 999px; background: #eef1ec; color: #54605b; font-size: 11px; }
.post-arrow { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-size: 22px; }

.topics { margin-bottom: 110px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.topics > div { min-height: 190px; padding: 32px; border-right: 1px solid var(--line); }
.topics > div:first-child { padding-left: 0; }
.topics > div:last-child { border-right: 0; }
.topics span { color: var(--accent-dark); font: 10px ui-monospace, monospace; }
.topics h3 { margin: 20px 0 8px; font-size: 21px; }
.topics p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.site-footer { min-height: 140px; padding: 36px max(24px, calc((100% - 1120px) / 2)); background: var(--night); color: #ffffff9c; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.site-footer a { color: var(--accent); }

.article-main { width: 100%; margin: 0; }
.article-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 110px; }
.article-back { display: inline-block; color: var(--muted); font-size: 13px; }
.article-back:hover { color: var(--ink); }
.article-header { max-width: 900px; padding: 68px 0 60px; }
.article-header h1 { margin: 26px 0 28px; font-size: clamp(54px, 7.4vw, 92px); line-height: .98; letter-spacing: -.065em; font-weight: 650; }
.article-header h1 em { color: var(--accent-dark); font-style: normal; }
.article-header > p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.article-stats { margin-bottom: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.article-stats div { padding: 25px 26px; border-right: 1px solid var(--line); display: grid; gap: 10px; }
.article-stats div:first-child { padding-left: 0; }
.article-stats div:last-child { border-right: 0; }
.article-stats small { color: var(--muted); font-size: 11px; }
.article-stats strong { font-size: 20px; letter-spacing: -.02em; }
.image-story { display: grid; gap: 46px; }
.story-image { margin: 0; }
.story-image img { display: block; width: 100%; height: auto; border-radius: 22px; background: #e8ebe5; box-shadow: 0 26px 64px #14231e1a; }
.story-image figcaption { padding: 15px 4px 0; display: flex; gap: 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.story-image figcaption span { color: var(--accent-dark); font: 11px ui-monospace, monospace; }
.article-footer { margin-top: 72px; padding: 34px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.article-footer p { margin: 0; color: var(--muted); }
.article-footer a { color: var(--accent-dark); font-weight: 650; }
.site-footer { min-height: 140px; padding: 36px max(24px, calc((100% - 1120px) / 2)); background: var(--night); color: #ffffff9c; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }

@media (max-width: 700px) {
  .site-header, main { width: min(100% - 32px, 1120px); }
  .site-header { height: 76px; }
  nav > a:not(.back-home) { display: none; }
  .hero { min-height: 540px; padding-top: 55px; }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-copy { font-size: 15px; }
  .hero-meta { flex-wrap: wrap; gap: 18px 28px; }
  .section-title { grid-template-columns: 1fr; gap: 14px; }
  .post-card { grid-template-columns: 1fr auto; padding: 25px; }
  .post-body { grid-column: 1 / -1; }
  .post-arrow { grid-area: 1 / 2; }
  .article-shell { width: min(100% - 32px, 1120px); padding-top: 48px; }
  .article-header { padding: 50px 0 45px; }
  .article-header h1 { font-size: clamp(46px, 13.5vw, 68px); }
  .article-header > p { font-size: 15px; }
  .article-stats { grid-template-columns: 1fr 1fr; }
  .article-stats div, .article-stats div:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .article-stats div:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
  .article-stats div:nth-child(even) { padding-left: 18px; }
  .article-stats div:nth-last-child(-n + 2) { border-bottom: 0; }
  .image-story { gap: 34px; }
  .story-image img { border-radius: 14px; }
  .article-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  .topics { grid-template-columns: 1fr; }
  .topics > div, .topics > div:first-child { min-height: auto; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .topics > div:last-child { border-bottom: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
