:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #4f46e5;
  --brand-soft: #eef2ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

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

.top {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

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

.nav__admin {
  color: var(--brand) !important;
  font-weight: 600;
}

.cta {
  margin-top: 22px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.22);
}

.btn:hover {
  filter: brightness(1.05);
  text-decoration: none !important;
}

.hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(79, 70, 229, 0.16), transparent 42%),
    linear-gradient(180deg, #eef2ff 0%, var(--bg) 72%);
  padding: 72px 0 48px;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.03em;
}

.lead {
  max-width: 640px;
  font-size: 18px;
  color: #374151;
}

.hint {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 48px 0;
}

.section--alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

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

.grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.facts li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts span {
  color: var(--muted);
}

.prose h1 {
  margin-top: 0;
}

.prose .meta {
  color: var(--muted);
  font-size: 14px;
}

.foot {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.foot p {
  margin: 0 0 8px;
}

.icp {
  opacity: 0.75;
}

@media (max-width: 640px) {
  .top__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .facts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
