/* ==========================================================================
   xxcxu — 在线学习平台
   主题样式表 · 清新增长感 / 教育风格
   设计原则：KISS（零依赖）、DRY（CSS 变量集中管理）、移动优先响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 主色：学习绿 */
  --c-green: #16a34a;
  --c-green-dk: #15803d;
  --c-green-lt: #dcfce7;
  --c-teal: #0d9488;

  /* 辅色：激励橙 / 靛蓝 / 玫红 */
  --c-amber: #f59e0b;
  --c-amber-lt: #fef3c7;
  --c-indigo: #5b5bd6;
  --c-indigo-lt: #e0e7ff;
  --c-rose: #f43f5e;

  /* 渐变 */
  --grad-brand: linear-gradient(120deg, #16a34a 0%, #0d9488 100%);
  --grad-warm: linear-gradient(120deg, #f59e0b 0%, #f43f5e 100%);
  --grad-cool: linear-gradient(120deg, #5b5bd6 0%, #0d9488 100%);
  --grad-soft: linear-gradient(120deg, rgba(22, 163, 74, .1), rgba(13, 148, 136, .1));

  /* 底色 */
  --bg: #f7fbf8;
  --bg-alt: #eef7f1;
  --surface: #ffffff;
  --surface-2: #f8fbf9;
  --line: #e3ede6;
  --line-strong: #cfe0d5;

  /* 墨色 */
  --ink: #10241a;
  --ink-2: #43574b;
  --ink-3: #7d9187;

  /* 阴影 */
  --sh-sm: 0 2px 8px rgba(16, 36, 26, .06);
  --sh-md: 0 10px 28px rgba(16, 36, 26, .09);
  --sh-lg: 0 22px 52px rgba(16, 36, 26, .14);
  --sh-brand: 0 10px 26px rgba(22, 163, 74, .26);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* 间距 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --container: 1180px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur-f: .18s;
  --dur: .3s;
  --dur-s: .55s;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2.5px solid var(--c-green);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(22, 163, 74, .2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. 排版
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.95rem, 4.8vw, 3.3rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

h3 {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

p {
  color: var(--ink-2);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono {
  font-family: var(--font-mono);
  font-size: .875em;
}

/* 高亮标记 */
.mark {
  position: relative;
  display: inline-block;
}

.mark::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 1px;
  height: .36em;
  background: var(--c-amber-lt);
  border-radius: 3px;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   4. 布局
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

section {
  padding-block: clamp(48px, 6.5vw, 84px);
}

.section-head {
  max-width: 660px;
  margin-bottom: var(--sp-7);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: var(--sp-3);
}

.section-head p {
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 14px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--c-green-lt);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-green-dk);
}

.eyebrow.warm {
  background: var(--c-amber-lt);
  color: #b45309;
}

.eyebrow.cool {
  background: var(--c-indigo-lt);
  color: #4338ca;
}

/* --------------------------------------------------------------------------
   5. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: .93rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--dur-f) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur-f) var(--ease), border-color var(--dur-f) var(--ease),
    color var(--dur-f) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(22, 163, 74, .38);
}

.btn-outline {
  border: 2px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--c-green);
  color: var(--c-green-dk);
}

.btn-soft {
  background: var(--c-green-lt);
  color: var(--c-green-dk);
}

.btn-soft:hover {
  background: #c9f5d8;
}

.btn-amber {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 10px 26px rgba(244, 63, 94, .28);
}

.btn-sm {
  padding: 8px 16px;
  font-size: .84rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* --------------------------------------------------------------------------
   6. 顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 251, 248, .9);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(16, 36, 26, .05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.brand .logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand b {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav a {
  position: relative;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-2);
  padding-block: 4px;
  transition: color var(--dur-f) var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width var(--dur) var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* 搜索 */
.search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  transition: border-color var(--dur-f) var(--ease), box-shadow var(--dur-f) var(--ease);
}

.search:focus-within {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--ink-3);
}

.search input {
  width: 120px;
  border: none;
  background: none;
  outline: none;
  font-size: .87rem;
}

.search input::placeholder {
  color: var(--ink-3);
}

/* 汉堡 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color var(--dur-f) var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(32px, 5vw, 60px);
  padding-bottom: clamp(40px, 5.5vw, 76px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, .13), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -160px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .13), transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  margin-bottom: var(--sp-5);
}

.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 48ch;
  margin-bottom: var(--sp-6);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1.5px solid var(--line);
}

.hero-stats .num {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats .lbl {
  font-size: .8rem;
  color: var(--ink-3);
}

/* Hero 右侧：学习进度卡 */
.progress-card {
  padding: var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-lg);
}

.progress-card h3 {
  font-size: 1.02rem;
  margin-bottom: var(--sp-2);
}

.progress-card > p {
  font-size: .85rem;
  margin-bottom: var(--sp-5);
}

.pc-row {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.pc-item .pc-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: 6px;
  font-size: .85rem;
  font-weight: 600;
}

.pc-item .pc-top span:last-child {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-3);
}

.bar {
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-brand);
  width: 0;
  transition: width 1.3s var(--ease);
}

.bar.amber > span {
  background: var(--grad-warm);
}

.bar.cool > span {
  background: var(--grad-cool);
}

/* --------------------------------------------------------------------------
   8. 卡片 / 课程卡
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--sp-5);
}

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

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

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

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  padding: var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-md);
}

.card h3 {
  margin-bottom: var(--sp-3);
}

.card p {
  font-size: .92rem;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.icon-box.amber {
  background: var(--grad-warm);
  box-shadow: 0 10px 26px rgba(244, 63, 94, .26);
}

.icon-box.cool {
  background: var(--grad-cool);
  box-shadow: 0 10px 26px rgba(91, 91, 214, .26);
}

.tick-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: .89rem;
  color: var(--ink-2);
}

.tick-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--c-green);
}

/* 课程卡 */
.course {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.course:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-md);
}

/* 课程封面（纯 CSS 生成，无外链图片） */
.course-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c1, #16a34a), var(--c2, #0d9488));
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* 网格纹理 */
.course-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
}

.course-thumb .ct-label {
  position: relative;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  padding-inline: var(--sp-4);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
  letter-spacing: -.02em;
}

.course-thumb .ct-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .95);
  font-size: .7rem;
  font-weight: 800;
  color: var(--ink);
}

.course-thumb .ct-tag.hot {
  background: var(--c-amber);
  color: #fff;
}

.course-thumb .ct-tag.new {
  background: var(--c-indigo);
  color: #fff;
}

.course-thumb .ct-dur {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 2px 9px;
  border-radius: var(--r-sm);
  background: rgba(16, 36, 26, .72);
  color: #fff;
  font-size: .7rem;
  font-family: var(--font-mono);
}

.course-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
}

.course-body h3 {
  font-size: 1rem;
  margin-bottom: var(--sp-2);
  line-height: 1.4;
}

.course-body .desc {
  font-size: .85rem;
  flex: 1;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--sp-4);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: .78rem;
  color: var(--ink-3);
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1.5px solid var(--line);
}

.price-now {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--c-green-dk);
  font-family: var(--font-mono);
}

.price-now small {
  font-size: .72rem;
  font-weight: 600;
}

.price-old {
  font-size: .8rem;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-left: 6px;
  font-family: var(--font-mono);
}

.price-free {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--c-amber);
}

/* 评分 */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-amber);
}

.rating svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   9. 数据指标
   -------------------------------------------------------------------------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}

.metric {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.metric .val {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric .cap {
  font-size: .83rem;
  color: var(--ink-3);
  margin-top: var(--sp-2);
}

/* --------------------------------------------------------------------------
   10. 学习路径
   -------------------------------------------------------------------------- */
.path-grid {
  display: grid;
  gap: var(--sp-5);
}

.path {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.path:hover {
  border-color: var(--line-strong);
  box-shadow: var(--sh-md);
}

.path-head {
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  background: linear-gradient(135deg, var(--c1, #16a34a), var(--c2, #0d9488));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
}

.path-head h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: var(--sp-2);
}

.path-head p {
  color: rgba(255, 255, 255, .88);
  font-size: .82rem;
}

.path-head .lvl {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .22);
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

/* 路径阶段 */
.stage-list {
  display: grid;
  gap: var(--sp-4);
}

.stage {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-4);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  transition: border-color var(--dur-f) var(--ease), transform var(--dur-f) var(--ease);
}

.stage:hover {
  border-color: var(--c-green);
  transform: translateX(3px);
}

.stage-no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-green-lt);
  color: var(--c-green-dk);
  font-weight: 800;
  font-size: .85rem;
  font-family: var(--font-mono);
}

.stage.is-done .stage-no {
  background: var(--grad-brand);
  color: #fff;
}

.stage h4 {
  font-size: .94rem;
  margin-bottom: 2px;
}

.stage p {
  font-size: .82rem;
  color: var(--ink-3);
}

.stage .st-meta {
  font-size: .76rem;
  color: var(--ink-3);
  white-space: nowrap;
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   11. 步骤 / 流程
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--sh-brand);
}

.step h3 {
  font-size: 1rem;
  margin-bottom: var(--sp-2);
}

.step p {
  font-size: .87rem;
}

/* --------------------------------------------------------------------------
   12. 讲师卡
   -------------------------------------------------------------------------- */
.teacher {
  text-align: center;
  padding: var(--sp-6) var(--sp-5);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.teacher:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-md);
}

.t-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #16a34a), var(--c2, #0d9488));
}

.teacher .name {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.teacher .title {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-green-dk);
  margin-bottom: var(--sp-3);
}

.teacher .bio {
  font-size: .85rem;
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
}

.t-stats {
  display: flex;
  justify-content: center;
  gap: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1.5px solid var(--line);
  font-size: .78rem;
  color: var(--ink-3);
}

.t-stats b {
  display: block;
  font-size: .95rem;
  color: var(--ink);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   13. 价格方案
   -------------------------------------------------------------------------- */
.billing-toggle {
  display: inline-flex;
  gap: var(--sp-1);
  padding: var(--sp-1);
  margin-bottom: var(--sp-7);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}

.billing-toggle button {
  padding: 9px 22px;
  border-radius: var(--r-pill);
  font-size: .87rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: all var(--dur-f) var(--ease);
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--grad-brand);
  color: #fff;
}

.billing-toggle .save {
  font-size: .72rem;
  opacity: .85;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: start;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: var(--sp-7) var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.plan.featured {
  position: relative;
  border-color: var(--c-green);
  box-shadow: var(--sh-brand);
}

.plan.featured::after {
  content: "最受欢迎";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.plan h3 {
  margin-bottom: var(--sp-2);
}

.plan .desc {
  font-size: .87rem;
  min-height: 42px;
  margin-bottom: var(--sp-5);
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1.5px solid var(--line);
}

.plan .price .cur {
  font-size: 1.05rem;
  color: var(--ink-2);
}

.plan .price .amt {
  font-size: clamp(1.9rem, 3.8vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  font-family: var(--font-mono);
}

.plan .price .per {
  font-size: .84rem;
  color: var(--ink-3);
}

.plan .tick-list {
  flex: 1;
  margin-top: 0;
  margin-bottom: var(--sp-6);
}

/* 权益对比表 */
.table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

th,
td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1.5px solid var(--line);
}

th {
  background: var(--surface-2);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

td {
  color: var(--ink-2);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--surface-2);
}

td.yes {
  color: var(--c-green-dk);
  font-weight: 700;
}

td.no {
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   14. 评价
   -------------------------------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.quote:hover {
  transform: translateY(-4px);
  border-color: var(--c-green);
}

.quote blockquote {
  flex: 1;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--ink);
}

.quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 2.4rem;
  line-height: .8;
  color: var(--c-green);
  opacity: .4;
  margin-bottom: var(--sp-2);
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1.5px solid var(--line);
}

.avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #16a34a), var(--c2, #0d9488));
}

.quote-meta .who {
  font-size: .88rem;
  font-weight: 700;
}

.quote-meta .role {
  font-size: .78rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--sp-3);
  max-width: 840px;
  margin-inline: auto;
}

.faq-item {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur-f) var(--ease);
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item[open] {
  border-color: var(--c-green);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  font-weight: 700;
  font-size: .96rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--c-green);
  transition: transform var(--dur) var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .answer {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: .91rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   16. 课程详情：大纲折叠
   -------------------------------------------------------------------------- */
.syllabus {
  display: grid;
  gap: var(--sp-3);
}

.unit {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}

.unit[open] {
  border-color: var(--c-green);
}

.unit summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-5);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: .95rem;
}

.unit summary::-webkit-details-marker {
  display: none;
}

.unit .u-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: var(--c-green-lt);
  color: var(--c-green-dk);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 800;
}

.unit .u-meta {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  font-family: var(--font-mono);
}

.lesson-list {
  padding: 0 var(--sp-5) var(--sp-5);
  display: grid;
  gap: var(--sp-2);
}

.lesson {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 10px var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: .87rem;
  transition: background-color var(--dur-f) var(--ease);
}

.lesson:hover {
  background: var(--bg-alt);
}

.lesson .l-left {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 0;
}

.lesson .l-left svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--c-green);
}

.lesson .l-dur {
  font-size: .76rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.lesson.is-preview {
  background: var(--c-green-lt);
}

.lesson .preview-tag {
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--c-green);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}

/* 详情主区 */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.detail-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-md);
}

.detail-side .side-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.detail-side .side-price b {
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-green-dk);
  font-family: var(--font-mono);
  letter-spacing: -.03em;
}

.detail-side .side-price s {
  font-size: .88rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

.side-facts {
  display: grid;
  gap: var(--sp-3);
  margin-block: var(--sp-5);
  padding-block: var(--sp-5);
  border-block: 1.5px solid var(--line);
  font-size: .86rem;
}

.side-facts div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
}

.side-facts dt {
  color: var(--ink-3);
}

.side-facts dd {
  font-weight: 700;
}

/* 详情页头部信息 */
.course-hero {
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, var(--c1, #16a34a), var(--c2, #0d9488));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.course-hero .container {
  position: relative;
  z-index: 1;
}

.course-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin-bottom: var(--sp-4);
}

.course-hero p {
  color: rgba(255, 255, 255, .92);
  max-width: 62ch;
}

.course-hero .crumb {
  color: rgba(255, 255, 255, .8);
}

.course-hero .crumb a:hover {
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-5);
  font-size: .86rem;
  color: rgba(255, 255, 255, .92);
}

.hero-meta b {
  color: #fff;
}

/* --------------------------------------------------------------------------
   17. 页面头部（子页）
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.7rem);
  margin-bottom: var(--sp-4);
}

.page-hero p {
  max-width: 60ch;
  margin-inline: auto;
  font-size: 1rem;
}

.crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: .8rem;
  color: var(--ink-3);
}

.crumb a:hover {
  color: var(--c-green-dk);
}

/* 筛选条 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

.filter-group > span {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-3);
  margin-right: var(--sp-2);
}

.chip {
  padding: 8px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: all var(--dur-f) var(--ease);
}

.chip:hover {
  border-color: var(--c-green);
  color: var(--c-green-dk);
}

.chip[aria-pressed="true"] {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-brand);
}

.filter-count {
  margin-left: auto;
  font-size: .84rem;
  color: var(--ink-3);
}

.filter-count b {
  color: var(--c-green-dk);
  font-family: var(--font-mono);
}

/* 空状态 */
.empty {
  padding: var(--sp-9) var(--sp-5);
  text-align: center;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink-3);
}

.empty strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

/* 说明条 */
.note {
  padding: var(--sp-5);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
}

/* --------------------------------------------------------------------------
   18. CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(44px, 6vw, 76px) var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--grad-brand);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 26px 26px;
}

.cta > * {
  position: relative;
}

.cta h2 {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.cta p {
  color: rgba(255, 255, 255, .92);
  max-width: 56ch;
  margin: 0 auto var(--sp-7);
  font-size: 1rem;
}

.cta .btn-row {
  justify-content: center;
}

.cta .btn-primary {
  background: #fff;
  color: var(--c-green-dk);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

.cta .btn-outline {
  border-color: rgba(255, 255, 255, .85);
  background: transparent;
  color: #fff;
}

.cta .btn-outline:hover {
  background: #fff;
  color: var(--c-green-dk);
}

.cta-note {
  margin-top: var(--sp-5);
  font-size: .8rem;
  color: rgba(255, 255, 255, .8);
}

/* --------------------------------------------------------------------------
   19. 表单
   -------------------------------------------------------------------------- */
.form {
  padding: clamp(24px, 3vw, 40px);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-field {
  margin-bottom: var(--sp-5);
}

.form-field label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: .86rem;
  font-weight: 700;
}

.form-field .req {
  color: var(--c-rose);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: .92rem;
  transition: border-color var(--dur-f) var(--ease), box-shadow var(--dur-f) var(--ease),
    background-color var(--dur-f) var(--ease);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .13);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-3);
}

.form-field .err {
  display: none;
  margin-top: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-rose);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--c-rose);
}

.form-field.has-error .err {
  display: block;
}

.form-status {
  display: none;
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--c-green-lt);
  border: 1.5px solid rgba(22, 163, 74, .35);
  font-size: .89rem;
  font-weight: 600;
  color: var(--c-green-dk);
}

.form-status.show {
  display: block;
}

/* --------------------------------------------------------------------------
   20. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--sp-9);
  padding-top: var(--sp-8);
  border-top: 1.5px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: var(--sp-8);
}

.footer-brand p {
  margin-top: var(--sp-4);
  font-size: .88rem;
  max-width: 34ch;
}

.footer-col h4 {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  display: grid;
  gap: var(--sp-3);
}

.footer-col a {
  font-size: .88rem;
  color: var(--ink-2);
  transition: color var(--dur-f) var(--ease);
}

.footer-col a:hover {
  color: var(--c-green-dk);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1.5px solid var(--line);
  font-size: .82rem;
  color: var(--ink-3);
}

.socials {
  display: flex;
  gap: var(--sp-3);
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink-2);
  transition: all var(--dur-f) var(--ease);
}

.socials a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad-brand);
}

.socials svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   21. 滚动入场
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

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

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

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

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-3) var(--sp-5) var(--sp-5);
    background: var(--bg);
    border-bottom: 1.5px solid var(--line);
    box-shadow: var(--sh-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
      visibility var(--dur);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: var(--sp-4) 0;
    border-bottom: 1.5px solid var(--line);
    font-size: 1rem;
  }

  .nav a::after {
    display: none;
  }

  .header-actions .search {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

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

  .plan.featured {
    order: -1;
  }

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

  .path-head {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .container {
    padding-inline: var(--sp-4);
  }

  section {
    padding-block: var(--sp-7);
  }

  .grid-4,
  .grid-auto {
    grid-template-columns: 1fr;
  }

  .metrics,
  .steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-row .btn {
    width: 100%;
  }

  .stage {
    grid-template-columns: 32px 1fr;
  }

  .stage .st-meta {
    grid-column: 2;
  }

  .filter-count {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   23. 打印
   -------------------------------------------------------------------------- */
@media print {

  .site-header,
  .nav-toggle,
  .site-footer,
  .cta,
  .detail-side {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .card,
  .course,
  .plan {
    box-shadow: none;
    border-color: #ccc;
  }
}
