* {
  box-sizing: border-box;
}

:root {
  --primary: #1f7ae0;
  --primary-light: #eaf3ff;
  --primary-dark: #1662ba;
  --green: #0f9f6e;
  --green-light: #eefbf5;
  --text: #243142;
  --text-secondary: #52627b;
  --text-muted: #8896a8;
  --bg: #f5f8fd;
  --bg-white: #fff;
  --border: #e5eaf2;
  --border-hover: rgba(31,122,224,.25);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(25,46,84,.07);
  --shadow-sm: 0 8px 24px rgba(25,46,84,.05);
  --transition: .25s ease;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

.crumb {
  padding: 18px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.crumb a {
  color: var(--text-secondary);
}

.crumb a:hover {
  color: var(--primary);
}

.hero,
.page {
  margin: 24px auto;
  padding: 36px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 28px;
  align-items: center;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.article-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}

h1,
h2,
h3 {
  line-height: 1.35;
  color: #101827;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
}

h2 {
  margin-top: 32px;
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

h3 {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

p {
  margin: 10px 0;
  color: var(--text-secondary);
}

.meta,
.source-note {
  color: var(--text-muted);
  font-size: 14px;
}

.source-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.source-note a {
  color: var(--primary);
  font-size: 13px;
}

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

.card {
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card h2 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: none;
  padding-bottom: 0;
}

.card h2 a {
  color: var(--text);
}

.card h2 a:hover {
  color: var(--primary);
  text-decoration: none;
}

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

.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
}

.data-box,
.experience-box {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.data-box h2,
.experience-box h2 {
  margin-top: 0;
  font-size: 20px;
  border-bottom: none;
  padding-bottom: 0;
}

.data-box p,
.experience-box p {
  color: var(--text-secondary);
}

.experience-box {
  border-left-color: var(--green);
  background: var(--green-light);
}

.cta {
  display: inline-block;
  margin: 28px 0 8px;
  padding: 14px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #49a7ff);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition);
  text-decoration: none;
}

.cta:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(31,122,224,.35);
  transform: translateY(-2px);
}

footer {
  margin: 42px 0 28px;
  color: var(--text-muted);
  text-align: center;
  font-size: 14px;
}

footer a {
  color: var(--text-secondary);
}

footer a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero,
  .page {
    padding: 24px 18px;
  }

  .hero img {
    max-width: 120px;
    justify-self: center;
  }

  h1 {
    font-size: clamp(22px, 5vw, 32px);
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 17px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}