:root {
  --ink: #14211e;
  --muted: #66746f;
  --paper: #f5f2ea;
  --paper-light: #fffdf8;
  --green: #173d34;
  --ember: #c95236;
  --line: rgba(20, 33, 30, 0.2);
  --line-strong: rgba(20, 33, 30, 0.72);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 33, 30, 0.04) 1px, transparent 1px) 0 0 / 84px 84px,
    var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ember);
}

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

.hero {
  padding: 72px 0;
  border-bottom: 1px solid var(--line-strong);
}

.eyebrow,
.index-row span,
.index-row em,
.footer {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 82px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.index-list {
  border-top: 2px solid var(--ink);
}

.index-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(180px, 0.36fr);
  gap: 24px;
  align-items: center;
  min-height: 128px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
}

.index-row strong {
  font-size: 36px;
  line-height: 1.08;
}

.index-row span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--green);
}

.index-row em {
  justify-self: end;
  color: var(--green);
  font-style: normal;
}

.index-row.muted {
  background: rgba(255, 253, 248, 0.48);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  padding: 28px 0 36px;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .index-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .index-row strong {
    font-size: 28px;
  }

  .index-row em {
    grid-column: 2;
    justify-self: start;
  }
}
