:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --line: #dddddd;
  --link: #0b57d0;
  --link-hover: #083a8c;
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100vh;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.content {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.site-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
}

.content {
  padding: 40px 0 72px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 40px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

h1 {
  margin-bottom: 8px;
  font-size: 2.35rem;
  line-height: 1.2;
}

.title {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.summary {
  max-width: 62ch;
  margin-bottom: 18px;
}

.meta-list,
.plain-list {
  padding-left: 20px;
}

.meta-list {
  margin-bottom: 18px;
}

.meta-list span {
  color: var(--text);
  font-weight: 600;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.intro-media img {
  width: 160px;
  aspect-ratio: 1 / 1.5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.35;
}

h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.45;
}

.publication-list {
  padding-left: 22px;
}

.publication-list li,
.plain-list li {
  margin-bottom: 10px;
}

.nested-list ul {
  margin-top: 8px;
  padding-left: 22px;
}

.nested-list > li {
  margin-bottom: 12px;
}

.nested-list ul li {
  margin-bottom: 4px;
  color: var(--muted);
}

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

.item p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .header-inner,
  .content {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-media {
    order: -1;
  }

  .intro-media img {
    width: min(220px, 100%);
  }

  h1 {
    font-size: 2rem;
  }
}
