:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #1b2430;
  --muted: #5c6678;
  --line: #dbe2ef;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --success: #0f766e;
  --shadow: 0 18px 40px rgba(20, 32, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(245, 247, 251, 0.9);
  border-bottom: 1px solid rgba(219, 226, 239, 0.8);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hero-text,
.section-heading p,
.card p,
.post-card p,
.footer-text,
.record-block,
dd {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-panel {
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.plain-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 0;
}

.section {
  padding: 36px 0 52px;
}

.muted {
  background: rgba(238, 243, 255, 0.42);
  border-top: 1px solid rgba(219, 226, 239, 0.9);
  border-bottom: 1px solid rgba(219, 226, 239, 0.9);
}

.section-heading {
  margin-bottom: 24px;
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.post-card {
  border-radius: 8px;
  padding: 24px;
}

.post-meta {
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.post-card a {
  color: var(--accent);
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.compact {
  padding: 22px;
}

.info-list {
  margin: 0;
}

.info-list div + div {
  margin-top: 14px;
}

dt {
  font-size: 0.9rem;
  color: var(--muted);
}

dd {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 110px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-title {
  margin-bottom: 8px;
  font-weight: 700;
}

.record-block p {
  margin-bottom: 6px;
}

.record-block a {
  color: var(--accent);
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding: 14px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .post-card {
    padding: 20px;
  }

  .nav {
    gap: 12px;
  }
}
