:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --ink: #1d2730;
  --muted: #65717b;
  --line: #d4dde3;
  --panel: #ffffff;
  --accent: #2f5f9d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.narrow {
  max-width: 660px;
}

header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

header p {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
}

.summary {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.list a {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: var(--panel);
  text-decoration: none;
}

.list strong {
  color: var(--accent);
  font-size: 19px;
}

.list span {
  color: var(--muted);
  line-height: 1.7;
}

footer {
  margin-top: 30px;
  color: var(--muted);
}

footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 900px);
    padding-top: 46px;
  }

  h1 {
    font-size: 30px;
  }

  .summary {
    font-size: 16px;
  }

  .list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
