/* ===== block 1 ===== */
/* ========== Glow Sans TC Wide (headings only, 4000-char subset) ========== */
@font-face { font-family: 'GlowSansTCWide'; src: url('fonts/GlowSansTCWide-Bold.woff2?v=3') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'GlowSansTCWide'; src: url('fonts/GlowSansTCWide-ExtraBold.woff2?v=3') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --beige: #F4EBE1;
  --beige-light: #FAF6F0;
  --beige-mid: #E8D5C4;
  --orange: #DA7B4A;
  --orange-hover: #C56A3A;
  --orange-light: rgba(218, 123, 74, 0.08);
  --orange-glow: rgba(218, 123, 74, 0.15);
  --dark: #1A1A1A;
  --dark-soft: #2A2420;
  --text: #3D2E1F;
  --text-secondary: #7A6B5D;
  --bg: #FDFDFD;
  --bg-alt: #F4EBE1;
  --text-tertiary: #A89B8C;
  --border: rgba(61, 46, 31, 0.08);
  --radius: 8px;
  --radius-lg: 14px;
  --mono: 'JetBrains Mono', monospace;
}

/* Base: 14px minimum, scale up proportionally */
html {
  font-size: clamp(16px, 1.25vw, 19px);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family:  'Inter', 'Noto Sans TC', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
}

/* Chinese-dominant elements keep sans */
h1, h2, h3, h4,
.why-item p,
.path-content p,
.faq-q-text,
.faq-a-inner,
.section-desc,
.hero-sub,
.level-tagline,
.level-features li,
.res-card-title,
.res-card-desc,
.subscribe-note,
.stat-label,
.cta p {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
}

/* English-heavy elements use Inter */
.en,
.stat-number,
.hero h1,
.level-name,
.levels-header h2 {
  font-family: 'GlowSansTCWide', sans-serif;
}

code { font-family: var(--mono); }

a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-hover); }

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

/* ========== Layout ========== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: 'GlowSansTCWide', sans-serif;
  font-weight: 800;
  line-height: 1.35;
  color: var(--dark);
}

h2 { font-size: 1.85rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; font-weight: 700; }

.section-label {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '//';
  opacity: 0.5;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.08rem;
  
  line-height: 1.8;
}

/* ========== SVG Icon System ========== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.navbar.scrolled .navbar-brand { color: var(--beige); }
.navbar.scrolled .navbar-links a { color: rgba(244,235,225,0.7); }
.navbar.scrolled .navbar-links a:hover { color: var(--orange); }
.navbar.scrolled .brand-text { color: var(--beige); }

@media (min-width: 1024px) {
  .navbar { padding: 0 3rem; }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.brand-icon {
  width: 28px;
  height: 28px;
  background: var(--dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--orange);
}

.brand-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.navbar-links {
  display: none;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.navbar-links a {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover { color: var(--orange); }

.navbar-cta { display: none; }

@media (min-width: 768px) {
  .navbar-cta { display: block; }
}

.navbar-cta a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: var(--dark);
  color: var(--beige) !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  isolation: isolate;
}

.navbar-cta a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  clip-path: circle(0% at 0% 100%);
  transition: clip-path 0.55s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: -1;
}

.navbar-cta a:hover::before {
  clip-path: circle(150% at 0% 100%);
}

.navbar-cta a span {
  position: relative;
  z-index: 1;
}

.nav-mobile-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

@media (min-width: 768px) {
  .nav-mobile-toggle { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--beige);
  text-decoration: none;
}

.mobile-menu a:hover { color: var(--orange); }

.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--beige);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 15%, rgba(218, 123, 74, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(218, 123, 74, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Scrolling code background */
.hero-code-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-code-strip {
  position: absolute;
  top: 0;
  width: 22%;
  height: 100%;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 2.2;
  color: rgba(61, 46, 31, 0.4);
  white-space: pre;
  user-select: none;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
}

.hero-code-strip--right {
  right: 0;
}

.hero-code-strip--left {
  right: 26%;
  top: 120px;
}

.hero-code-strip .code-inner {
  animation: code-scroll 55s linear infinite;
}

.hero-code-strip--left {
  animation: strip-slide-in 3s ease-out 2s both;
}

.hero-code-strip--left .code-inner {
  animation-duration: 55s;
}

@keyframes strip-slide-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 0.6; transform: translateY(0); }
}

@keyframes code-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 24px;
  background: var(--orange-glow);
  border: 1px solid rgba(218, 123, 74, 0.2);
  margin-bottom: 1.5rem;
}

.hero-pill-badge {
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 2px 10px;
  border-radius: 14px;
  letter-spacing: 0.02em;
}

.hero-pill-text {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--orange);
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
}

.hero h1 .prompt-caret {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.8em;
  opacity: 0.5;
}

.hero h1 .t-cursor {
  display: inline-block;
  width: 0.25em;
  height: 0.7em;
  background: var(--orange);
  vertical-align: baseline;
  margin-left: 0.08em;
  animation: blink 1.1s step-end infinite;
  border-radius: 0;
}

@media (min-width: 860px) {
  .hero h1 { font-size: 2.5rem; }
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-actions { justify-content: center; }
}

.hero-btn-primary {
  background: var(--orange);
  color: #fff !important;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(218, 123, 74, 0.3);
}

.hero-btn-primary:hover {
  background: var(--orange-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--text) !important;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(61, 46, 31, 0.15);
  transition: border-color 0.2s;
}

.hero-btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
}

/* Terminal mockup */
.hero-terminal {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.2), 0 8px 24px rgba(26, 26, 26, 0.12);
  border: 1px solid rgba(255,255,255,0.06);
  scale: 0.85;
  transform-origin: center center;
}

@media (max-width: 860px) {
  .hero { overflow: hidden; }
  .hero-terminal { width: 92vw; max-width: none; margin: 0 auto; scale: 1; aspect-ratio: 1 / 1; display: flex; flex-direction: column; }
  .hero-terminal .terminal-body { flex: 1; min-height: 0; font-size: 14px; text-align: left; }
  .hero-code-bg { display: none; }
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green { background: #28c840; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  margin-right: 40px;
}

.terminal-body {
  padding: 24px;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 18px;
  line-height: 2;
  color: rgba(255,255,255,0.7);
  min-height: 340px;
}

.t-prompt { color: var(--orange); }
.t-cmd { color: #fff; }
.t-comment { color: rgba(255,255,255,0.3); font-style: italic; }
.t-success { color: #28c840; }
.t-dim { color: rgba(255,255,255,0.35); }

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--orange);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink { 50% { opacity: 0; } }

/* ========== Stats ========== */
.stats {
  background: var(--dark);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

.stat-number {
  font-family: var(--mono);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(244, 235, 225, 0.5);
  margin-top: 0.3rem;
}

/* ========== Why ========== */
.why { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  cursor: pointer;
  transition: box-shadow 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.why-item:hover {
  box-shadow: 0 12px 40px rgba(61, 46, 31, 0.08);
  transform: translateY(-4px);
}

.why-icon {
  margin-bottom: 0.75rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-light);
  border-radius: 10px;
  color: var(--orange);
}

.why-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.why-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--orange) 50%, var(--dark) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.5s cubic-bezier(0.4,0,0.2,1);
}

.why-item:hover h3 {
  background-position: 0 0;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== Levels (Comparison) ========== */
.levels {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.levels::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(218, 123, 74, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(218, 123, 74, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.levels::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.levels .container--wide { position: relative; z-index: 1; }

.levels .section-label { color: rgba(218, 123, 74, 0.7); }
.levels .section-label::before { color: rgba(218, 123, 74, 0.3); }

.levels-header {
  margin-bottom: 3.5rem;
}

.levels-header h2 {
  color: var(--beige);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 860px) {
  .levels-header h2 { font-size: 2.6rem; }
}

.levels-header h2 .levels-highlight {
  color: var(--orange);
}

.levels-header p {
  color: rgba(244, 235, 225, 0.5);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

/* Three tier cards */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width: 860px) {
  .levels-grid { grid-template-columns: 1fr; }
}

.level-card {
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
  background:
    linear-gradient(180deg, rgba(40, 36, 32, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
}

.level-card:last-child { border-right: none; }

@media (max-width: 860px) {
  .level-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .level-card:last-child { border-bottom: none; }
}

.level-card:hover {
  background:
    linear-gradient(180deg, rgba(50, 44, 38, 0.95) 0%, rgba(32, 28, 24, 0.98) 100%);
}

/* The featured (Claude Code) card */
.level-card--featured {
  background:
    linear-gradient(160deg,
      rgba(218, 123, 74, 0.18) 0%,
      rgba(218, 123, 74, 0.08) 40%,
      rgba(26, 26, 26, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(218, 123, 74, 0.2),
    inset 1px 0 0 rgba(218, 123, 74, 0.08),
    -1px 0 0 rgba(218, 123, 74, 0.08),
    0 0 80px rgba(218, 123, 74, 0.06);
}

.level-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #F6B85A, var(--orange));
}

.level-card--featured:hover {
  background:
    linear-gradient(160deg,
      rgba(218, 123, 74, 0.22) 0%,
      rgba(218, 123, 74, 0.1) 40%,
      rgba(32, 28, 24, 0.95) 100%);
}

.level-tier {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 235, 225, 0.3);
  margin-bottom: 1rem;
}

.level-card--featured .level-tier {
  color: var(--orange);
}

.level-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--beige);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.level-card--featured .level-name {
  color: #fff;
  font-size: 1.65rem;
}

.level-tagline {
  font-size: 0.92rem;
  color: rgba(244, 235, 225, 0.45);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.level-card--featured .level-tagline {
  color: rgba(244, 235, 225, 0.6);
}

.level-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.level-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(244, 235, 225, 0.55);
  line-height: 1.5;
}

.level-card--featured .level-features li {
  color: rgba(244, 235, 225, 0.7);
}

.level-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.level-features .feat-yes svg { fill: #28c840; }
.level-features .feat-no svg { fill: rgba(255,255,255,0.15); }
.level-features .feat-orange svg { fill: var(--orange); }

/* Big CTA inside featured card */
.level-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(218, 123, 74, 0.3);
}

.level-cta:hover {
  background: var(--orange-hover);
  color: #fff;
  transform: translateY(-1px);
}

.level-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


.levels-audience {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}

/* Bottom statement */
.levels-bottom {
  margin-top: 3rem;
  text-align: center;
}

.levels-bottom p {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: rgba(244, 235, 225, 0.3);
  letter-spacing: 0.02em;
}

.levels-bottom p span {
  color: var(--orange);
}

/* ========== Learning Path ========== */
.path {
  background: var(--bg-alt);
}

.path-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.path-list::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--beige-mid) 70%, transparent);
}

@media (max-width: 550px) {
  .path-list::before { left: 16px; }
}

.path-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.25rem 0;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  border-radius: var(--radius);
}

.path-item:hover { background: rgba(218, 123, 74, 0.04); }

a.path-item { cursor: pointer; }

.path-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--beige-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

a.path-item .path-num {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.path-content { flex: 1; }

.path-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.path-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.path-tag {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: center;
}

.path-tag--published {
  background: var(--orange);
  color: #fff;
}

.path-tag--draft {
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(218, 123, 74, 0.15);
}

/* Path "more" fade */
.path-more {
  position: relative;
  padding: 2rem 0 0;
  text-align: center;
}

.path-more::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg-alt));
  pointer-events: none;
}

.path-more-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.path-more-text .path-count {
  font-family: var(--mono);
  font-size: 0.875rem;
  background: var(--orange-light);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.path-subscribe {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 1.25rem auto 0;
}

@media (max-width: 480px) {
  .path-subscribe { flex-direction: column; }
}

/* ========== Preview Modal ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header .preview-badge {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex;
}

.modal-close:hover { color: var(--dark); }

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
}

.modal-body h4 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--dark);
}

.modal-body h4:first-child { margin-top: 0; }

.modal-body p { margin-bottom: 1rem; }

.modal-body ul {
  margin: 0.5rem 0 1rem 1.25rem;
  color: var(--text-secondary);
}

.modal-body li {
  margin-bottom: 0.4rem;
}

.modal-body .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.88rem;
}

.modal-body .comparison-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-alt);
  font-weight: 600;
  border-bottom: 2px solid var(--beige-mid);
}

.modal-body .comparison-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.modal-body .comparison-table td:first-child {
  font-weight: 500;
  color: var(--dark);
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.modal-footer a {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s;
}

.modal-footer a:hover { background: var(--orange-hover); color: #fff !important; }

/* ========== Resources ========== */
.resources { background: var(--bg); }

.res-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0 2rem;
  flex-wrap: wrap;
}

.res-tab {
  background: #fff;
  border: 1px solid var(--beige-mid);
  padding: 0.5rem 1.2rem;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
}

.res-tab::after { display: none; }

.res-tab:hover {
  color: var(--dark);
  border-color: var(--orange);
}

.res-tab.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  font-weight: 600;
}

.res-tab-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  transition: color 0.2s;
}

.res-tab-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.res-tab.active .res-tab-icon {
  color: var(--orange);
}

@media (max-width: 550px) {
  .res-tab { padding: 1rem 1.25rem 0.75rem; font-size: 0.875rem; }
  .res-tab-icon svg { width: 20px; height: 20px; }
}

.res-panel { display: none; }
.res-panel.active { display: block; }

/* Notion-style bookmark cards */
.res-bookmarks { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.res-bookmark {
  display: flex; align-items: stretch; border: 1px solid rgba(61,46,31,0.12); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s, border-color 0.2s;
}
.res-bookmark:hover { border-color: var(--orange); box-shadow: 0 2px 12px rgba(218,123,74,0.1); }
.res-bookmark-thumb {
  width: 180px; min-height: 100px; object-fit: cover; flex-shrink: 0; border-right: 1px solid rgba(61,46,31,0.08);
}
.res-bookmark-body { padding: 0.8rem 1rem; display: flex; flex-direction: column; justify-content: center; gap: 0.25rem; min-width: 0; }
.res-bookmark-title { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-bookmark-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-bookmark-url { font-size: 0.72rem; color: var(--orange); font-family: var(--mono); margin-top: 0.15rem; }
@media (max-width: 600px) {
  .res-bookmark { flex-direction: column; }
  .res-bookmark-thumb { width: 100%; height: 160px; border-right: none; border-bottom: 1px solid rgba(61,46,31,0.08); }
  .res-bookmark-title { white-space: normal; }
}

.res-subhead {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2rem 0 0.75rem;
  padding-left: 0.1rem;
}
.res-subhead:first-child {
  margin-top: 0;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
  .res-grid { grid-template-columns: 1fr; }
}

.res-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.res-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--beige-light);
}

.res-card-body { padding: 1.2rem 1.5rem 1.5rem; }

.res-card:hover {
  border-color: var(--beige-mid);
  box-shadow: 0 8px 32px rgba(61, 46, 31, 0.06);
  transform: translateY(-3px);
  color: inherit;
}

.res-card::after {
  content: '';
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23E8D5C4'%3E%3Cpath d='M5.22 14.78a.75.75 0 001.06 0l7.22-7.22v5.69a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75h-7.5a.75.75 0 000 1.5h5.69l-7.22 7.22a.75.75 0 000 1.06z'/%3E%3C/svg%3E");
  transition: background-image 0.2s;
}

.res-card:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23DA7B4A'%3E%3Cpath d='M5.22 14.78a.75.75 0 001.06 0l7.22-7.22v5.69a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75h-7.5a.75.75 0 000 1.5h5.69l-7.22 7.22a.75.75 0 000 1.06z'/%3E%3C/svg%3E");
}

.res-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  line-height: 1.4;
  padding-right: 1.5rem;
}

.res-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.res-card-meta {
  display: flex;
  gap: 5px;
  margin-top: 0.7rem;
  flex-wrap: wrap;
}

.res-badge {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 4px;
  line-height: 1.5;
}

.res-badge--free { background: rgba(40, 200, 64, 0.08); color: #1e8a34; }
.res-badge--official { background: var(--orange-light); color: var(--orange); }
.res-badge--video { background: rgba(220, 38, 38, 0.06); color: #c62828; }
.res-badge--basic { background: rgba(218, 123, 74, 0.12); color: var(--orange); }
.res-badge--advanced { background: rgba(93, 75, 154, 0.10); color: #5d4b9a; }
.res-badge--zh { background: rgba(33, 164, 177, 0.10); color: #15808a; }
.res-badge--en { background: rgba(122, 107, 93, 0.10); color: #6b5e51; }

/* ---- Starter Kit Accordion ---- */
.sk-accordion {
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.sk-header-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.25rem 1.5rem 0.5rem;
}
.sk-status-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.6), 0 0 12px rgba(52, 211, 153, 0.3);
  animation: sk-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes sk-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(52, 211, 153, 0.6), 0 0 12px rgba(52, 211, 153, 0.3); }
  50% { opacity: 0.5; box-shadow: 0 0 3px rgba(52, 211, 153, 0.3); }
}
.res-grid--featured {
  margin-bottom: 1.25rem;
}
.res-card--featured {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: row;
}
.res-card--featured .res-card-thumb {
  width: 280px;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px 0 0 12px;
}
.res-card--featured .res-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 640px) {
  .res-card--featured { flex-direction: column; }
  .res-card--featured .res-card-thumb { width: 100%; border-radius: 12px 12px 0 0; }
}
.sk-header-label {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.sk-header-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.sk-item {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.sk-head {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  transition: background 0.2s;
}
.sk-head:hover {
  background: rgba(255,255,255,0.04);
}
.sk-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  flex-shrink: 0;
}
.sk-item.open .sk-num {
  background: var(--orange);
  color: #fff;
}
.sk-title {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
}
.sk-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.sk-item.open .sk-chevron {
  transform: rotate(180deg);
  color: var(--orange);
}
.sk-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.sk-item.open .sk-body {
  max-height: 200px;
}
.sk-body-inner {
  padding: 0 1.5rem 1.5rem 4.25rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.75;
}
.sk-body-inner p {
  margin: 0 0 0.75rem;
}
.sk-body-inner code {
  background: rgba(255,255,255,0.1);
  color: var(--orange);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.85em;
}
.sk-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.sk-btn {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
}
.sk-btn--primary {
  background: var(--orange);
  color: #fff;
}
.sk-btn--primary:hover {
  background: #c26a3a;
}
.sk-btn--primary.copied {
  background: #2e7d4f;
}
.sk-btn--secondary {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
}
.sk-btn--secondary:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
@media (max-width: 550px) {
  .sk-header-bar { flex-direction: column; gap: 0.25rem; }
  .sk-body-inner { padding-left: 1.5rem; }
}

/* ---- Free Preview Teaser (放在課綱模組之上) ---- */
#path .free-teaser {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
  background: rgba(218, 123, 74, 0.06);
  border: 1px dashed rgba(218, 123, 74, 0.5);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#path .free-teaser:hover {
  background: rgba(218, 123, 74, 0.12);
  border-color: var(--orange);
  box-shadow: 0 4px 12px -2px rgba(218, 123, 74, 0.2), 0 1px 3px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
#path .free-teaser .ls-n { font-size: 1.6rem; }

/* ---- Kit Compare (Starter Kit vs ProKit) ---- */
.kit-compare-section {
  background: var(--bg-alt);
  padding: 4rem 0 5rem;
}
.kit-compare-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.kit-compare-eyebrow {
  display: inline-block;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.78rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.kit-compare-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}
.kit-compare-vs {
  color: var(--text-tertiary);
  font-weight: 500;
  font-style: italic;
  padding: 0 0.25rem;
}
.kit-compare-sub {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
}
.kit-compare-section .container--wide {
  max-width: 1120px;
}
.kit-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  max-width: none;
  margin: 0 auto;
}
.kit-card {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
}
.kit-card .kit-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.kit-card:hover .kit-glow {
  opacity: 1;
}
.kit-card--starter {
  background: linear-gradient(160deg, #3D332A 0%, #2A2420 55%, #1E1A17 100%);
}
.kit-card--pro {
  background: linear-gradient(160deg, #8A3E1B 0%, #6B2A10 55%, #4A1B07 100%);
  box-shadow: 0 28px 56px -16px rgba(138, 62, 27, 0.6), 0 12px 24px -8px rgba(0,0,0,0.3);
}
.kit-card--pro .kit-gold-border {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid rgba(255, 200, 120, 0.45);
  pointer-events: none;
  z-index: 2;
}
.kit-card--pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 8%, rgba(255, 190, 130, 0.22), transparent 55%);
  pointer-events: none;
}
.kit-card-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3A1505;
  background: linear-gradient(135deg, #FFC896, #F59547);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.35);
  font-weight: 700;
}
.kit-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.4rem 1.5rem 0.5rem;
  position: relative;
  z-index: 1;
}
.kit-card-label {
  font-family: 'GlowSansTCWide', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.kit-card-label-sub {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #FFD2A8;
  letter-spacing: 0;
  margin-left: 0.1rem;
}
.kit-status-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.6), 0 0 12px rgba(52, 211, 153, 0.3);
  animation: sk-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.kit-status-light--pro {
  background: #FFB074;
  box-shadow: 0 0 6px rgba(255, 176, 116, 0.7), 0 0 12px rgba(255, 176, 116, 0.35);
}
.kit-card-tag {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  margin-left: auto;
  letter-spacing: 0.04em;
}
.kit-card--pro .kit-card-tag {
  background: rgba(255, 190, 130, 0.22);
  color: #FFE6C9;
}
.kit-card-body {
  padding: 0.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.kit-card-desc {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.85;
  margin: 0;
}
.kit-card--pro .kit-card-desc {
  color: rgba(255, 225, 200, 0.82);
}
.kit-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.kit-card-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.kit-card-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.kit-card-list .kc-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  min-width: 1.6rem;
  font-weight: 600;
}
.kit-card-list .kc-ref {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.42);
  font-family: var(--mono);
  margin-left: 0.35rem;
  padding: 0.08rem 0.45rem;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  white-space: nowrap;
}
/* ProKit list: 短名稱 + 括號說明（對齊 Starter Kit 的節奏） */
.kit-card-list .kc-name {
  font-weight: 600;
  color: #fff;
}
.kit-card--pro .kit-card-list .kc-name {
  color: #FFE6C9;
}
.kit-card-list .kc-detail {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-left: 0.15rem;
}
.kit-card--pro .kit-card-list .kc-detail {
  color: rgba(255, 210, 168, 0.62);
}
/* Coming Soon row (ProKit 05) */
.kit-card-list li.kc-coming {
  flex-wrap: wrap;
}
.kc-badge {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 180, 120, 0.22);
  color: #FFD6A8;
  border: 1px solid rgba(255, 180, 120, 0.4);
  font-weight: 600;
}
.kit-card-list code {
  background: rgba(255,255,255,0.1);
  color: var(--orange);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
}
.kit-card--pro .kit-card-list li {
  color: #FFF0E0;
  border-bottom-color: rgba(255,180,120,0.12);
}
.kit-card--pro .kit-card-list .kc-num {
  color: #FFB074;
}
.kit-card--pro .kit-card-list .kc-ref {
  color: rgba(255, 210, 170, 0.65);
  background: rgba(255, 180, 120, 0.12);
}
.kit-card--pro .kit-card-list code {
  background: rgba(255, 180, 120, 0.18);
  color: #FFD2A8;
}
.kit-card-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.kit-card-footline {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.52);
}
.kit-card--pro .kit-card-footline {
  color: rgba(255, 210, 168, 0.78);
}
.kit-card-btn {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.kit-card-btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.kit-card-btn--ghost:hover {
  background: #fff;
  color: var(--dark);
}
.kit-card-btn--pro {
  background: linear-gradient(135deg, #FFBE86 0%, #F08A3E 100%);
  color: #3A1505;
  box-shadow: 0 10px 22px -10px rgba(255, 150, 80, 0.7);
}
.kit-card-btn--pro:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #fff 0%, #FFE8D0 100%);
  color: #5A2A0A;
  box-shadow: 0 14px 26px -10px rgba(255, 150, 80, 0.85);
}
@media (max-width: 780px) {
  .kit-compare-grid { grid-template-columns: 1fr; }
  .kit-compare-section { padding: 3rem 0 4rem; }
}

/* ========== FAQ ========== */
.faq { background: var(--bg-alt); }

.faq-list {
  margin: 2rem auto 0;
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--beige-mid);
  border-radius: var(--radius-lg);
  padding: 0.5rem 2rem;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(61, 46, 31, 0.1);
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 0;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--orange); }

.faq-q-text { flex: 1; }

.faq-q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--text-secondary);
}

.faq-q-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s;
}

.faq-item.open .faq-q-icon {
  background: var(--orange);
  color: #fff;
}

.faq-item.open .faq-q-icon svg {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* 用 1500px 容納多段落答案，只有「開啟的項目」展開時會用到這個上限 */
.faq-item.open .faq-a { max-height: 1500px; }

.faq-a-inner {
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* 多段落答案之間的間距 */
.faq-a-inner p + p {
  margin-top: 0.9rem;
}

.faq-a-inner strong {
  color: var(--orange);
  font-weight: 600;
}

/* ========== CTA ========== */
.cta {
  background: var(--dark);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(218, 123, 74, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta h2 {
  color: var(--beige);
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--beige-mid);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0.8;
}

.btn--primary {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(218, 123, 74, 0.35);
}

.btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ========== Subscribe ========== */
.subscribe {
  background: var(--bg);
  padding: 4rem 0;
}

.subscribe-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-box h2 { margin-bottom: 0.5rem; }

.subscribe-box .section-desc {
  margin: 0 auto 1.5rem;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .subscribe-form { flex-direction: column; }
}

.subscribe-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--beige-mid);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.88rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-input:focus { border-color: var(--orange); }

.subscribe-btn {
  background: var(--dark);
  color: var(--beige);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.subscribe-btn:hover { background: var(--dark-soft); }

/* ========== Waitlist（迷你課早鳥預購區塊）========== */
.waitlist-title {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.waitlist-hero {
  display: block;
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 2.25rem auto 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.08), 0 1px 4px rgba(26, 26, 26, 0.04);
  transform: perspective(1200px) rotateX(0) rotateY(0);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: pointer;
}
.waitlist-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.waitlist-hero-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 42%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.18) 58%,
    transparent 70%);
  transform: translateX(-150%);
  transition: transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
  pointer-events: none;
  z-index: 2;
}
.waitlist-hero:hover .waitlist-hero-shine {
  transform: translateX(150%);
}
.waitlist-hero:hover {
  box-shadow: 0 20px 44px rgba(26, 26, 26, 0.14), 0 6px 14px rgba(26, 26, 26, 0.08);
}
.waitlist-countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.9rem;
  margin: 0.75rem auto 1.75rem;
  width: fit-content;
}
.wl-cd-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.wl-cd-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
  line-height: 1;
}
.wl-cd-unit {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 2px;
}
.wl-cd-sep {
  font-size: 2rem;
  color: rgba(218, 123, 74, 0.4);
  font-weight: 300;
  line-height: 1;
  transform: translateY(-4px);
}
@keyframes waitlist-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(218, 123, 74, 0.28);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 8px 28px rgba(218, 123, 74, 0.48);
  }
}
.waitlist-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  animation: waitlist-breathe 2.8s ease-in-out infinite;
  transition: background 0.2s ease;
}
.waitlist-cta:hover {
  background: var(--orange-hover);
  color: #fff !important;
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .waitlist-cta { animation: none; }
}
@media (max-width: 560px) {
  .waitlist-title { font-size: 1.2rem; }
  .wl-cd-num { font-size: 1.8rem; }
  .wl-cd-unit { font-size: 0.82rem; }
  .wl-cd-sep { font-size: 1.5rem; }
  .waitlist-countdown { gap: 0.6rem; }
}

.subscribe-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  font-family: var(--mono);
  opacity: 0.7;
}

/* ========== Footer ========== */
.footer {
  background: var(--dark);
  color: rgba(244, 235, 225, 0.55);
  padding: 0;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer a { color: rgba(244, 235, 225, 0.7); text-decoration: none; }
.footer a:hover { color: var(--orange); }

/* Footer subscribe bar */
.footer-subscribe {
  background: var(--dark-soft);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-subscribe-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.footer-subscribe-inner h3 {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 0.4rem;
}
.footer-subscribe-inner p {
  color: rgba(244, 235, 225, 0.5);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}
.footer-subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.footer-subscribe-form input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.85rem;
  background: rgba(255,255,255,0.06);
  color: var(--beige);
  outline: none;
  transition: border-color 0.2s;
}
.footer-subscribe-form input::placeholder { color: rgba(244, 235, 225, 0.3); }
.footer-subscribe-form input:focus { border-color: var(--orange); }
.footer-subscribe-form button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.footer-subscribe-form button:hover { background: var(--orange-hover); }
@media (max-width: 480px) {
  .footer-subscribe-form { flex-direction: column; }
}

/* Footer columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer-col h4 {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col li a { font-size: 0.84rem; transition: color 0.2s; }

.footer-brand-tagline {
  font-size: 0.88rem;
  color: rgba(244, 235, 225, 0.5);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 0.8rem;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(244, 235, 225, 0.6);
  transition: background 0.2s, color 0.2s;
}
.footer-socials a:hover { background: var(--orange); color: #fff; }
.footer-socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244, 235, 225, 0.3);
}

/* ========== Handwritten Notes ========== */
.hand-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--text-secondary);
  opacity: 0.45;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  animation: hand-wobble 4s ease-in-out infinite;
}

.hand-note--light {
  color: rgba(244, 235, 225, 0.35);
}

.hand-note svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes hand-wobble {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(1px, -3px) rotate(0.5deg); }
  50% { transform: translate(-1px, -5px) rotate(-0.5deg); }
  75% { transform: translate(1px, -2px) rotate(0.3deg); }
}

.hand-note--d1 { animation-delay: 0.4s; }
.hand-note--d2 { animation-delay: 1.1s; }
.hand-note--d3 { animation-delay: 1.8s; }
.hand-note--d4 { animation-delay: 0.7s; }
.hand-note--d5 { animation-delay: 2.2s; }

@media (max-width: 860px) {
  .hand-note { display: none; }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  h2 { font-size: 1.5rem; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Module Headers ========== */
.path-module {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0 0.5rem;
  margin-top: 0.5rem;
}

.path-module:first-child { margin-top: 0; padding-top: 0; }

.path-module-label {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
  white-space: nowrap;
}

.path-module-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
}

.path-module-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ========== Outcomes Grid ========== */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}

.outcome-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--beige-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.outcome-num {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--beige-mid);
  flex-shrink: 0;
}

/* ========== Bonuses ========== */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .bonus-grid { grid-template-columns: 1fr; }
}

.bonus-card {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  background: rgba(218, 123, 74, 0.03);
  font-size: 0.9rem;
  line-height: 1.6;
}

.bonus-card strong { color: var(--dark); }

/* ========== Lightbox ========== */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 1.5rem;
  justify-content: center;
  align-items: flex-start;
}

.lightbox-overlay.open { display: flex !important; }

.lightbox-panel {
  background: #FDFDFD;
  max-width: 720px;
  width: 100%;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  position: relative;
  margin: 2rem auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  max-height: none;
}

.lightbox-x {
  position: sticky;
  top: 0;
  float: right;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.15s, color 0.15s;
}

.lightbox-x:hover { background: var(--orange-light); color: var(--orange); }

.lightbox-article { font-family: 'Inter', 'Noto Sans TC', sans-serif; line-height: 1.85; color: var(--text); }
.lightbox-article h1 { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 1.6rem; font-weight: 900; color: var(--dark); margin: 0 0 1.2rem; line-height: 1.3; }
.lightbox-article h2 { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--dark); margin: 2rem 0 0.6rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.lightbox-article h3 { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 0.4rem; }
.lightbox-article h4 { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--dark); margin: 1.2rem 0 0.4rem; }
.lightbox-article p { margin: 0 0 1rem; font-size: 0.92rem; }
.lightbox-article ul, .lightbox-article ol { margin: 0 0 1rem; padding-left: 1.5rem; font-size: 0.92rem; }
.lightbox-article li { margin-bottom: 0.3rem; }
.lightbox-article blockquote { margin: 1rem 0; padding: 0.8rem 1.2rem; border-left: 3px solid var(--orange); background: rgba(218,123,74,0.06); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.88rem; }
.lightbox-article blockquote p { margin: 0; }
.lightbox-article code { font-family: var(--mono); font-size: 0.875rem; background: rgba(26,26,26,0.05); padding: 2px 5px; border-radius: 3px; }
.lightbox-article pre { background: var(--dark); color: var(--beige); padding: 1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; margin: 1rem 0; font-size: 0.875rem; line-height: 1.6; }
.lightbox-article pre code { background: none; padding: 0; color: inherit; }
.lightbox-article table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.875rem; font-family: 'Inter', 'Noto Sans TC', sans-serif; }
.lightbox-article th, .lightbox-article td { padding: 0.5rem 0.75rem; border: 1px solid var(--border); text-align: left; }
.lightbox-article th { background: var(--bg-alt); font-weight: 600; }
.lightbox-article hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.lightbox-article a { color: var(--orange); }
.lightbox-article strong { font-weight: 600; color: var(--dark); }

/* ========== Course Modules (from course-preview) ========== */
.course-modules { margin-top: 2.5rem; }

.module-group { margin-bottom: 2.5rem; }
.module-group:last-child { margin-bottom: 0; }

.module-header-bar {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--beige-mid);
}

.module-num-label {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.module-title-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dark);
}

.module-sub-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-left: auto;
  white-space: nowrap;
  font-family: var(--mono);
}

a.course-lesson,
div.course-lesson,
.course-lesson {
  display: grid !important;
  grid-template-columns: 3.5rem 1fr !important;
  gap: 0 0.5rem;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.15s;
  text-decoration: none !important;
  color: inherit !important;
}

.course-lesson:last-child { border-bottom: none; }
.course-lesson:hover { background: rgba(218, 123, 74, 0.04); }

.course-lesson-num {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--beige-mid);
  line-height: 1.3;
}

.course-lesson-body {}

.course-lesson-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.course-lesson-title .lesson-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

.lesson-tag--read { background: rgba(218, 123, 74, 0.12); color: var(--orange); }
.lesson-tag--blog { background: rgba(26, 26, 26, 0.06); color: var(--text-secondary); }
.lesson-tag--soon { background: rgba(26, 26, 26, 0.04); color: var(--text-tertiary); }

.course-lesson-desc {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== block 2 ===== */
    #path .mg { margin-bottom: 2.5rem; }
    #path .mg:last-child { margin-bottom: 0; }
    #path .mh { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--beige-mid); }
    #path .mh-num { display: none; }
    #path .mh-title { font-size: 1.1rem; font-weight: 800; background: linear-gradient(135deg, var(--orange), #C4724A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    #path .mg:nth-child(2) .mh-title { background: linear-gradient(135deg, #8B6B4A, var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    #path .mh-sub { font-size: 0.875rem; color: var(--text-secondary); margin-left: auto; white-space: nowrap; font-family: var(--mono); }
    #path .ls { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0; padding: 1.25rem 0.5rem; border-bottom: 1px solid rgba(61,46,31,0.08); cursor: pointer; border-radius: 8px; transition: background 0.15s; }
    #path .ls:last-child { border-bottom: none; }
    #path .ls:hover { background: rgba(218,123,74,0.04); }
    #path .ls.ls-locked { cursor: default; }
    #path .ls.ls-locked:hover { background: transparent; }
    #path .ls.ls-free { cursor: pointer; }
    #path .ls.ls-free:hover { background: rgba(218,123,74,0.08); }
    #path .ls.free-teaser { border: 1px dashed rgba(218, 123, 74, 0.5); transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out; }
    #path .ls.free-teaser:hover { border-color: var(--orange); box-shadow: 0 4px 12px -2px rgba(218, 123, 74, 0.2), 0 1px 3px rgba(0,0,0,0.06); transform: translateY(-2px); }
    #path .ls-n { font-family: var(--mono); font-size: 1.4rem; font-weight: 600; color: var(--beige-mid); line-height: 1.3; }
    #path .ls-t { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; line-height: 1.4; font-family: 'Inter', 'Noto Sans TC', sans-serif; }
    #path .ls-t .tg { display: inline-block; font-family: var(--mono); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; padding: 0; margin-left: 0.6rem; vertical-align: baseline; text-transform: none; background: none; }
    #path .ls-t .tg.tg-r { color: var(--orange); font-family: 'Noto Sans TC', sans-serif !important; font-size: 0.8rem; font-weight: 600; vertical-align: baseline; border-bottom: 1.5px solid var(--orange); padding-bottom: 1px; }
    #path .tg-b { color: #7A6B5D; }
    #path .tg-s { color: #A89B8C; }
    #path .ls-d { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; }
    #path .ls-ref { margin-top: 0.4rem; font-family: var(--mono); font-size: 0.875rem; color: #A89B8C; }
    #path .ls-ref a { color: #A89B8C; text-decoration: underline; text-underline-offset: 2px; }
    #path .ls-ref a:hover { color: var(--orange); }
  

/* ===== block 3 ===== */
    .deck-wrap {
      max-width: 960px; margin: 0 auto; display: flex; position: relative; justify-content: center;
    }
    .deck-card {
      background: #fff;
      border-radius: 18px;
      padding: 1.4rem 1.5rem 1.6rem;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06);
      width: 220px;
      flex-shrink: 0;
      margin-left: 0;
      cursor: pointer;
      position: relative;
      /* Start stacked on top of each other */
      transform: rotate(0deg) translateX(0) translateY(0);
      transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, background 0.3s ease, margin 0.7s cubic-bezier(0.16,1,0.3,1);
    }
    .deck-card:first-child { margin-left: 0; }
    .deck-card:hover {
      transform: translateY(-18px) rotate(0deg) scale(1.06) !important;
      box-shadow: 0 24px 60px rgba(0,0,0,0.18);
      z-index: 10 !important;
      background: var(--orange);
    }
    .deck-card:hover .dc-title,
    .deck-card:hover .dc-desc { color: #fff !important; }
    .deck-card .dc-label {
      font-family: 'Caveat', cursive;
      font-size: 1rem;
      color: #B8A898;
      margin-bottom: 0.8rem;
    }
    .deck-card .dc-title {
      font-family: 'GlowSansTCWide', sans-serif;
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--dark);
      line-height: 1.3;
      margin-bottom: 0.6rem;
    }
    .deck-card .dc-desc {
      font-size: 0.88rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }
    @media (max-width: 800px) {
      .deck-wrap { flex-wrap: wrap; gap: 1rem; }
      .deck-card { margin-left: 0 !important; width: calc(50% - 0.5rem); transform: none !important; }
      .deck-card:hover { transform: translateY(-8px) scale(1.02) !important; }
    }
    @media (max-width: 500px) {
      .deck-card { width: 100%; }
    }
  

/* ===== block 4 ===== */
        .bonus-c { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 2.5rem 2rem 2rem; position: relative; overflow: hidden; transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
        .bonus-c:hover { background: var(--orange); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(218,123,74,0.25); }
        .bonus-c .b-badge { position: absolute; top: 0; left: 0; background: var(--orange); color: #fff; font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 700; padding: 6px 16px; border-radius: 0 0 10px 0; letter-spacing: 0.02em; transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
        .bonus-c:hover .b-badge { background: #1A1A1A; }
        .bonus-c .b-title { font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 0.6rem; line-height: 1.3; margin-top: 0.5rem; transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
        .bonus-c:hover .b-title { color: #fff; }
        .bonus-c .b-desc { font-size: 0.875rem; color: rgba(244,235,225,0.55); line-height: 1.7; transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
        .bonus-c:hover .b-desc { color: rgba(255,255,255,0.9); }
      

/* ===== block 5 ===== */
  #lessonLightbox {
    display: none;
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999 !important;
    background: rgba(26,26,26,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 3rem 1.5rem;
    justify-content: center;
    align-items: flex-start;
  }
  #lessonLightbox.open { display: flex !important; }
  #lessonLightbox.open .lb-panel {
    animation: lbEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes lbEnter {
    from { opacity: 0; transform: scale(0.85) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }
  #lessonLightbox .lb-panel {
    background: #FDFDFD;
    max-width: 720px;
    width: 100%;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  }
  #lessonLightbox .lb-close {
    position: sticky;
    top: 0;
    float: right;
    background: #F4EBE1;
    border: 1px solid #E8DDD2;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #7A6B5D;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  #lessonLightbox .lb-close:hover { background: rgba(218,123,74,0.1); color: #DA7B4A; }
  #lessonLightbox .lb-body { line-height: 1.85; color: #3D2E1F; }
  #lessonLightbox .lb-body h1 { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 1.6rem; font-weight: 900; color: #1A1A1A; margin: 0 0 1.2rem; line-height: 1.3; }
  #lessonLightbox .lb-body h2 { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 1.15rem; font-weight: 700; color: #1A1A1A; margin: 2rem 0 0.6rem; }
  #lessonLightbox .lb-body h3 { font-family: 'Inter', 'Noto Sans TC', sans-serif; font-size: 1rem; font-weight: 700; color: #1A1A1A; margin: 1.5rem 0 0.4rem; }
  #lessonLightbox .lb-body p { margin: 0 0 1rem; font-size: 0.92rem; }
  #lessonLightbox .lb-body ul, #lessonLightbox .lb-body ol { margin: 0 0 1rem; padding-left: 1.5rem; font-size: 0.92rem; }
  #lessonLightbox .lb-body li { margin-bottom: 0.3rem; }
  #lessonLightbox .lb-body blockquote { margin: 1rem 0; padding: 0.8rem 1.2rem; border-left: 3px solid #DA7B4A; background: rgba(218,123,74,0.06); border-radius: 0 8px 8px 0; font-size: 0.88rem; }
  #lessonLightbox .lb-body blockquote p { margin: 0; }
  #lessonLightbox .lb-body code { font-family: 'JetBrains Mono',monospace; font-size: 0.875rem; background: rgba(26,26,26,0.05); padding: 2px 5px; border-radius: 3px; }
  #lessonLightbox .lb-body pre { background: #1A1A1A; color: #F4EBE1; padding: 1rem 1.2rem; border-radius: 8px; overflow-x: auto; margin: 1rem 0; font-size: 0.875rem; line-height: 1.6; }
  #lessonLightbox .lb-body pre code { background: none; padding: 0; color: inherit; }
  #lessonLightbox .lb-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.875rem; }
  #lessonLightbox .lb-body th, #lessonLightbox .lb-body td { padding: 0.5rem 0.75rem; border: 1px solid #E8DDD2; text-align: left; }
  #lessonLightbox .lb-body th { background: #F4EBE1; font-weight: 600; }
  #lessonLightbox .lb-body hr { border: none; border-top: 1px solid #E8DDD2; margin: 2rem 0; }
  #lessonLightbox .lb-body a { color: #DA7B4A; }
  #lessonLightbox .lb-body strong { font-weight: 600; color: #1A1A1A; }

/* ===== block 6 ===== */
  #countdownBar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: #DA7B4A;
    color: #fff;
    padding: 10px 10px 10px 28px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: 0.875rem;
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(218,123,74,0.35);
    white-space: nowrap;
  }
  #countdownBar .cd-label { font-weight: 600; }
  #countdownBar .cd-num { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1rem; color: #fff; }
  #countdownBar .cd-unit { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-right: 2px; }
  #countdownBar .cd-cta {
    position: relative;
    display: inline-block;
    overflow: hidden;
    isolation: isolate;
    background: #1A1A1A;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
  }
  #countdownBar .cd-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    clip-path: circle(0% at 0% 100%);
    transition: clip-path 0.55s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: -1;
  }
  #countdownBar .cd-cta:hover::before {
    clip-path: circle(150% at 0% 100%);
  }
  #countdownBar .cd-cta span {
    position: relative;
    z-index: 1;
  }
  @media (max-width: 600px) {
    #countdownBar { font-size: 0.75rem; gap: 0.6rem; padding: 8px 8px 8px 16px; }
    #countdownBar .cd-label { display: none; }
    #countdownBar .cd-num { font-size: 0.85rem; }
    #countdownBar .cd-cta { padding: 8px 16px; font-size: 0.75rem; }
  }
  #topBtn {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: #2A2420;
    color: #F4EBE1;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: background 0.2s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  #topBtn.visible { opacity: 1; pointer-events: auto; }
  #topBtn:hover { background: #3D2E1F; }
  body { padding-bottom: 0; }

/* ========== Showcase（雷蒙用 AI Agent 做的事） ========== */
.showcase {
  background: #fff;
  padding: 5rem 0;
}
.showcase .container {
  max-width: 1280px;
}
.showcase h2 {
  font-family: 'GlowSansTCWide', 'Noto Sans TC', 'Inter', sans-serif;
  line-height: 1.5;
  padding: 0.15rem 0;
}
.showcase-h2-accent {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--orange) 0%, #C4724A 50%, #b85d28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
}
.showcase .section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0.6rem auto 0;
  max-width: 640px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.showcase-card {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  background: #f5efe8;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.14);
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.showcase-card:hover img {
  transform: scale(1.05);
}

/* 預設顯示黑色漸層 + 文字，hover 時淡出露出乾淨圖片 */
.showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 1.4rem 0.9rem;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.75) 30%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.showcase-card:hover .showcase-overlay {
  opacity: 0;
}
.showcase-overlay .showcase-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}
.showcase-overlay .showcase-desc {
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0 0 0.7rem;
}
.showcase-overlay .showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.showcase-overlay .showcase-tag {
  display: inline-block;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 訂閱區（從 footer 搬過來，移除咖啡色背景）*/
.showcase-subscribe {
  max-width: 580px;
  margin: 4rem auto 0;
  text-align: center;
  padding: 0 1.5rem;
}
.showcase-subscribe h3 {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 0.4rem;
}
.showcase-subscribe p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 1.3rem;
}
.showcase-subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.showcase-subscribe-form input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--beige-mid);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.85rem;
  background: #fff;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}
.showcase-subscribe-form input::placeholder { color: rgba(26, 26, 26, 0.35); }
.showcase-subscribe-form input:focus { border-color: var(--orange); }
.showcase-subscribe-form button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.showcase-subscribe-form button:hover { background: var(--orange-hover); }
@media (max-width: 480px) {
  .showcase-subscribe-form { flex-direction: column; }
}

/* 「暫不公開」toast — 顯示在被點擊的卡片中央 */
.toast-notpublic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: rgba(26, 26, 26, 0.92);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
.toast-notpublic.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* 觀看更多展開的卡片區（漸層 + 收合）*/
.showcase-more-wrap {
  position: relative;
  margin-top: 1.5rem;
  overflow: hidden;
}
.showcase-more {
  margin-top: 0;
}
.showcase-more-wrap.collapsed .showcase-more > :nth-child(n+4) {
  pointer-events: none;
}
.showcase-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.08) 15%,
    rgba(255,255,255,0.25) 32%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0.75) 68%,
    rgba(255,255,255,0.92) 85%,
    #fff 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.showcase-more-wrap.collapsed .showcase-fade {
  opacity: 1;
}

/* 觀看更多按鈕 */
.showcase-toggle-wrap {
  margin-top: 1.25rem;
  position: relative;
  z-index: 2;
  text-align: center;
  transition: margin-top 0.4s ease;
}
.showcase-more-wrap.collapsed + .showcase-toggle-wrap {
  margin-top: -2rem;
}
.showcase-toggle {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(61, 46, 31, 0.18);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  transition: border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.showcase-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.showcase-toggle-arrow {
  margin-left: 0.5rem;
  display: inline-block;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .showcase { padding: 3.5rem 0; }
  .showcase-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
  .showcase-more-wrap { margin-top: 1.25rem; }
  /* 手機版：showcase-more 內所有卡片都是「點觀看更多才出現」 */
  .showcase-more-wrap.collapsed .showcase-more {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
  }
  .showcase-more-wrap:not(.collapsed) .showcase-more {
    max-height: 9999px;
    opacity: 1;
  }
  /* 手機版漸層改成在第 1 排底下做小提示 */
  .showcase-fade {
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85) 70%, #fff 100%);
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

