:root {
  --brand: #a15c2b;
  --brand-dark: #7a3b12;
  --bg-cream: #fdf6ec;
  --text: #1a1a1a;
  --muted: #767676;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: #fff;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px;
}

h1, h2, h3 { margin: 0 0 12px; }

.hero {
  text-align: center;
  position: relative;
  padding-top: 24px;
  overflow: hidden;
}
.hero .xw-landmark-row { padding: 0 20px; }
.hero .xw-landmark-row img { height: 64px; }
.hero-mascot {
  position: relative;
  z-index: 2;
  height: 70px;
  margin-top: 10px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 20px 70px;
}
.hero .eyebrow {
  color: #fff;
  opacity: 0.9;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 16px;
}
.hero h1 { font-size: 34px; color: #fff; line-height: 1.4; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.hero .lead { font-size: 16px; color: #eaf6fb; margin: 16px 0 30px; line-height: 1.7; }

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  font-weight: 600;
}
.btn.primary { background: var(--brand); color: #fff; }
.btn.ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.why-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px;
}
.why-card .xw-icon-badge { font-size: 22px; width: 46px; height: 46px; margin-bottom: 12px; }
.why-card h3 { font-size: 16px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

.roadmap { position: relative; }
.roadmap-title, .roadmap-sub { position: relative; z-index: 2; text-align: center; }
.roadmap-title { color: #fff; }
.roadmap-sub.sub { color: #d9eef5; }
.sub { color: var(--muted); font-size: 14px; margin-top: -4px; margin-bottom: 24px; }

.skill-path {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 520px;
  margin: 30px auto 0;
}
.skill-path::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  bottom: 26px;
  width: 4px;
  background: rgba(255,255,255,0.35);
  transform: translateX(-50%);
}
.skill-node-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
}
.skill-node-row.side-left { justify-content: flex-start; }
.skill-node-row.side-right { justify-content: flex-end; }
.skill-node-row .skill-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  width: 46%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.skill-node-row.side-right .skill-card { flex-direction: row-reverse; text-align: right; }
.skill-bubble {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  background: #cfeaf3;
  color: #175a70;
  border: 2px solid #a9d8e6;
}
.skill-node-row.done .skill-bubble {
  background: linear-gradient(180deg, #ffd873 0%, #e8a63d 100%);
  color: #5a3800;
  border-color: #a86a1f;
}
.skill-node-row.done .skill-card { background: #fffdf6; }
.skill-label { font-size: 13px; line-height: 1.3; }
.skill-label .en { display: block; color: var(--muted); font-size: 11px; }
.skill-node-row.locked .skill-label { color: #999; }

.vocab-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 24px 0 30px;
}
.vocab-card {
  border: 1px solid #eadfce;
  border-radius: 10px;
  padding: 12px;
  background: #fffdfa;
}
.vocab-card .hanzi { font-size: 20px; font-weight: 700; }
.vocab-card .pinyin { font-size: 13px; color: var(--brand); }
.vocab-card .english { font-size: 12px; color: var(--muted); margin-top: 4px; }

.join { background: linear-gradient(135deg, #fbeee0 0%, #fdf6ec 100%); text-align: center; }
.join-inner p { color: #555; margin-bottom: 20px; }
.notify-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.notify-form input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 14px;
  min-width: 240px;
}
.notify-form button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.notify-msg { font-size: 13px; color: var(--brand-dark); min-height: 18px; }

.site-footer {
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.site-footer .section-inner { padding: 26px 20px; }
