:root {
  color-scheme: light;
  --bg: #f7f7f2;
  --text: #1d2528;
  --muted: #5b666b;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.site-main {
  width: min(100% - 40px, 920px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 88px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.list-main {
  align-content: start;
  padding-block: 72px;
}

.page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.list-note {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: #fff;
}

.list-note h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.list-note ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  line-height: 1.7;
}

.page-list a {
  display: grid;
  gap: 6px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  color: inherit;
  background: #fff;
  text-decoration: none;
}

.page-list strong {
  font-size: 17px;
}

.page-list span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.page-list em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

.page-list small {
  display: block;
  color: #3e4b4f;
  font-size: 13px;
  line-height: 1.7;
}

.text-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.text-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid #d9ded8;
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--accent);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-section {
  margin-top: 42px;
}

.text-section h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.3;
}

.text-list {
  display: grid;
  gap: 16px;
}

.text-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-list article {
  border: 1px solid #d9ded8;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.text-list h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.4;
}

.text-list h3 span {
  display: inline-block;
  margin-left: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.text-list dl {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.text-list dt {
  color: var(--accent);
  font-weight: 700;
}

.text-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .page-list {
    grid-template-columns: 1fr;
  }

  .text-list.compact,
  .text-list dl {
    grid-template-columns: 1fr;
  }

  .text-list dt {
    margin-top: 8px;
  }
}
