:root {
  color-scheme: light;
  --ink: #1a2340;
  --muted: #526077;
  --border: #dce1ed;
  --accent: #4037a8;
  --accent-dark: #302686;
  --accent-soft: #efedff;
  --paper: #f5f6fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #8d79f5;
  outline-offset: 3px;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 24px;
}

.site-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.site-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-content {
  padding-top: 32px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.course-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
}

.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.practice-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(25, 36, 69, 0.03);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.practice-link:hover {
  border-color: #b9b2e8;
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.practice-name {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.practice-link:hover .practice-name {
  color: var(--accent-dark);
}

.practice-action {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--accent-dark);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 22px 0 18px;
  }

  .main-content {
    padding-top: 24px;
  }

  .practice-link {
    padding: 14px 16px;
  }
}
