:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1c1d21;
  --text-soft: #5f6269;
  --line: #e4e6ea;
  --accent: #2f6fed;
  --radius: 12px;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

.site-header nav a {
  margin-left: 22px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
}

.site-header nav a:hover { color: var(--accent); }

.hero {
  padding: 88px 0 80px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.35;
}

.hero p {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--text-soft);
}

.btn {
  display: inline-block;
  padding: 11px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
}

.btn:hover { opacity: 0.88; }

.section { padding: 72px 0; }

.section.alt { background: var(--bg-soft); }

.section h2 {
  margin: 0 0 32px;
  font-size: 24px;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.thumb {
  height: 140px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.thumb-1 { background: #dbe6ff; }
.thumb-2 { background: #d8f0e4; }
.thumb-3 { background: #fde8d8; }

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.card p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 15px;
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
}

.lead {
  margin: 0;
  max-width: 640px;
  color: var(--text-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.tags li {
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-soft);
}

a { color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--text-soft);
  font-size: 14px;
}

.site-footer p { margin: 0; }

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 26px; }
  .section { padding: 52px 0; }
}
