:root {
  --bg: #FAFAF8;
  --text: #1a1a1a;
  --muted: #888;
  --line: #E5E5E3;
  --surface: #F2F2EF;
  --card: #FFFFFF;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

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

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* ── Cards grid ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeIn 0.5s ease both;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }

/* ── Recommended card ── */
.card.recommended {
  border-color: #2563EB;
  box-shadow: var(--shadow), 0 0 0 1px #2563EB;
}

/* ── Card header ── */
.card-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line);
}

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.card.recommended .label {
  color: #2563EB;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.price {
  display: block;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Card body ── */
.card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-body h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-body ul {
  list-style: none;
  padding: 0;
}

.card-body li {
  font-size: 14px;
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
  color: #444;
}

.card-body li + li {
  margin-top: 4px;
}

.card-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* ── Card video ── */
.card-video {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
}

video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 8px;
  background: var(--surface);
}

/* ── Animation ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}
