:root {
  --primary: #1677ff;
  --primary-light: #eaf4ff;
  --success: #12b886;
  --danger: #fa5252;
  --warning: #ff922b;

  --bg: #f5f8fc;
  --card: #ffffff;
  --text: #1f2937;
  --sub: #6b7280;

  --shadow:
    0 4px 20px rgba(0, 0, 0, .06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--text);
  line-height: 1.75;
}

.container {
  max-width: 900px;
  margin: auto;
}

/* HERO */

.hero {
  background:
    linear-gradient(135deg,
      #1677ff,
      #2ec7c9);

  color: #fff;
  padding: 48px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
}

.hero p {
  margin-top: 12px;
  opacity: .95;
}

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.quick-nav a {
  text-decoration: none;
  color: #1677ff;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* COMMON */

.section {
  padding: 28px 18px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0f172a;
}

.card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
}

.highlight {
  border-left: 5px solid var(--primary);
  background: var(--primary-light);
}

.highlight h3 {
  margin-bottom: 8px;
}

/* tips */

.tip-grid {
  display: grid;
  gap: 14px;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
}

.tip-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.tip-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

/* timeline */

.timeline {
  position: relative;
  margin-left: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #dbeafe;
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 24px;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;

  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 700;
}

.timeline-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

/* checklist */

.checklist li {
  list-style: none;
  margin: 12px 0;
}

.checklist li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  margin-right: 10px;
}

/* alert */

.alert {
  background: #fff4f4;
  border: 1px solid #ffd6d6;
}

.alert h3 {
  color: var(--danger);
}

.alert ul {
  margin-top: 10px;
  padding-left: 18px;
}

/* medicine */

.med-item {
  margin-bottom: 14px;
}

.med-item h3 {
  color: var(--primary);
}

/* footer */

.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--sub);
  font-size: 14px;
}

.notice {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

@media(max-width:768px) {

  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 22px;
  }

}