:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --paper-deep: #e8e0d2;
  --ink: #202322;
  --muted: #68706d;
  --line: #d4cdc1;
  --language: #b94b32;
  --language-dark: #813021;
  --life: #1f6b5a;
  --life-dark: #16483d;
  --gold: #c99735;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(39, 33, 25, .08);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); line-height: 1.7; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--language-dark); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .55rem .8rem; background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }
.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; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(244, 240, 232, .92); }
.header-inner, main, .site-footer { width: min(1160px, calc(100% - 2.5rem)); margin: 0 auto; }
.header-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.wordmark:hover { color: inherit; }
.wordmark-mark { display: grid; width: 2.5rem; aspect-ratio: 1; place-items: center; border: 1px solid currentColor; color: var(--language); font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: 0; }
.theme-lifetrails .wordmark-mark { color: var(--life); }
.wordmark strong, .wordmark small { display: block; line-height: 1.25; }
.wordmark strong { font-family: Georgia, "Noto Serif TC", serif; font-size: 1.1rem; letter-spacing: .03em; }
.wordmark small { margin-top: .3rem; color: var(--muted); font-size: .72rem; }
.site-nav { display: flex; align-items: center; gap: 1.3rem; font-size: .9rem; }
.site-nav a { text-decoration: none; }
.site-nav a:last-child { border: 1px solid var(--line); padding: .35rem .65rem; }

main { padding: 0 0 5rem; }
.hero { min-height: 34rem; margin: 0 calc((1160px - min(100vw - 2.5rem, 1160px)) / -2) 5rem; padding: clamp(4rem, 10vw, 8rem) max(1.25rem, calc((100vw - min(1160px, calc(100vw - 2.5rem))) / 2)); display: flex; align-items: end; justify-content: space-between; gap: 3rem; border-bottom: 1px solid var(--line); background: linear-gradient(115deg, rgba(255, 253, 248, .7), rgba(232, 224, 210, .3)), repeating-linear-gradient(0deg, transparent 0 31px, rgba(32, 35, 34, .035) 32px); }
.hero-copy { max-width: 45rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--language-dark); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.theme-lifetrails .eyebrow { color: var(--life-dark); }
h1, h2, h3 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
h1 { max-width: 13ch; font-size: clamp(2.8rem, 7vw, 6.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
h3 { font-size: 1.18rem; }
.hero-lede { max-width: 34rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; padding: .6rem 1rem; border: 1px solid transparent; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--language); color: var(--white); }
.button-primary:hover { background: var(--language-dark); color: var(--white); }
.theme-lifetrails .button-primary { background: var(--life); }
.theme-lifetrails .button-primary:hover { background: var(--life-dark); }
.button-secondary { border-color: var(--ink); background: transparent; }
.button-secondary:hover { background: var(--ink); color: var(--white); }
.hero-index { display: grid; min-width: 12rem; gap: .3rem; padding: 1rem 0 0 1.2rem; border-left: 3px solid var(--language); }
.theme-lifetrails .hero-index { border-color: var(--life); }
.hero-index span { color: var(--language); font: 2.5rem Georgia, serif; }
.hero-index strong { font-family: Georgia, serif; font-size: 1.1rem; }
.hero-index small { color: var(--muted); }

.section { margin-top: 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.7rem; }
.text-link { color: var(--language-dark); font-weight: 700; text-decoration: none; }
.theme-lifetrails .text-link { color: var(--life-dark); }
.muted { color: var(--muted); }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.content-card { display: flex; min-height: 18rem; flex-direction: column; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.content-card:hover { transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-index { display: grid; min-height: 5.2rem; place-items: center start; padding: 1.2rem; background: var(--paper-deep); color: var(--language); font: 2rem Georgia, serif; }
.card-short .card-index { background: #dce8df; color: var(--life-dark); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.card-kicker { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; color: var(--muted); font-size: .76rem; }
.card-body h3 { max-width: 24ch; }
.card-body h3 a { text-decoration: none; }
.card-body > p:not(.card-kicker) { display: -webkit-box; margin: .8rem 0 1.2rem; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.arrow-link { color: var(--language); font-size: 1.25rem; text-decoration: none; }
.theme-lifetrails .arrow-link { color: var(--life); }
.level-badge { display: inline-block; padding: .1rem .4rem; border: 1px solid currentColor; color: var(--language-dark); font-size: .7rem; line-height: 1.4; }
.theme-lifetrails .level-badge { color: var(--life-dark); }

.split-band { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; margin: 5rem 0; padding: 3rem; background: var(--ink); color: var(--white); }
.split-band .eyebrow { color: #e5b44b; }
.split-band p:not(.eyebrow) { max-width: 35rem; color: #c7cbc4; }
.split-band .text-link { color: #f0c860; }
.level-rail { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: .5rem; }
.level-rail a { display: grid; min-height: 8rem; align-content: center; padding: 1rem; border-left: 1px solid #606561; text-decoration: none; }
.level-rail a:hover { border-color: var(--gold); }
.level-rail strong { color: #f0c860; font: 2.4rem Georgia, serif; }
.level-rail span { color: #c7cbc4; font-size: .8rem; }
.section-lifetrails { padding-top: 4rem; border-top: 4px solid var(--life); }

.page-intro { max-width: 48rem; padding: 5.5rem 0 2rem; }
.page-intro h1 { max-width: 18ch; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-intro > p:last-child { max-width: 40rem; margin: 1.2rem 0 0; color: var(--muted); font-size: 1.05rem; }
.filter-nav { display: flex; flex-wrap: wrap; gap: .55rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-nav a { padding: .4rem .65rem; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; text-decoration: none; }
.filter-nav a:hover { border-color: var(--language); color: var(--language-dark); }
.collection-section { margin-top: 2rem; }
.empty-state { padding: 2rem; border: 1px dashed var(--line); color: var(--muted); }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.hub-link { display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: 1rem; min-height: 7rem; padding: 1rem 1.25rem; border-top: 2px solid var(--ink); background: var(--white); text-decoration: none; }
.hub-link:hover { border-color: var(--language); }
.hub-count { color: var(--language); font: 1.4rem Georgia, serif; }
.hub-link strong, .hub-link small { display: block; }
.hub-link small { margin-top: .2rem; color: var(--muted); }
.compact-section { max-width: 42rem; }

.detail-page { max-width: 850px; margin: 0 auto; padding-top: 5.5rem; }
.detail-header { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.detail-header h1 { max-width: 18ch; font-size: clamp(2.5rem, 6vw, 5.2rem); }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.4rem; color: var(--muted); font-size: .85rem; }
.prose { color: #333936; }
.detail-prose { margin-top: 2.5rem; font-size: 1.08rem; }
.prose p { max-width: 68ch; margin: 0 0 1.25rem; }
.classification-note { margin-top: 2rem; padding: .8rem 1rem; border-left: 3px solid var(--gold); color: var(--muted); font-size: .83rem; }
.source-link { margin-top: 2rem; }
.video-facade { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; overflow: hidden; background: #191c1b; }
.video-facade.video-short { max-width: 23rem; margin-right: auto; margin-left: auto; aspect-ratio: 9 / 16; }
.video-facade button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #191c1b; cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.play-button { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 4rem; aspect-ratio: 1; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: var(--language); color: white; font-size: 1.5rem; }
.video-facade p { position: absolute; right: .8rem; bottom: .45rem; z-index: 2; margin: 0; color: white; font-size: .7rem; }
.video-facade iframe { width: 100%; height: 100%; border: 0; }
.course-callout { margin-top: 4rem; padding: 2rem; border-top: 4px solid var(--language); background: var(--paper-deep); }
.course-callout h2 { font-size: 2rem; }
.course-callout-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.course-offer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem; border: 1px solid var(--line); background: var(--white); }
.course-offer h2 { font-size: 1.55rem; }
.course-offer p { margin: .35rem 0 0; color: var(--muted); }
.course-offer-compact { padding: 1rem; }
.course-offer-compact h2 { font-size: 1.2rem; }
.course-offer-compact .button { flex-shrink: 0; min-height: 2.35rem; padding: .4rem .7rem; font-size: .8rem; }
.course-list { display: grid; gap: 1rem; }
.related-section { margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related-section .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-prose { margin-top: 1rem; padding: 2rem 0; border-top: 1px solid var(--line); font-size: 1.08rem; }
.search-panel { max-width: 760px; margin-top: 1rem; }
.search-form label { display: block; margin-bottom: .5rem; font-weight: 700; }
.search-row { display: flex; gap: .6rem; }
.search-row input { min-width: 0; flex: 1; padding: .65rem .8rem; border: 1px solid var(--ink); background: var(--white); }
.search-results { display: grid; gap: .7rem; margin-top: 1.5rem; }
.search-result { padding: 1rem; border-left: 3px solid var(--language); background: var(--white); }
.search-result a { font-family: Georgia, serif; font-size: 1.15rem; text-decoration: none; }
.search-result p { margin: .3rem 0 0; color: var(--muted); font-size: .9rem; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.site-footer strong { color: var(--ink); font-family: Georgia, serif; }
.site-footer p { margin: .4rem 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 1rem; }

@media (max-width: 760px) {
  .header-inner, main, .site-footer { width: min(100% - 1.5rem, 38rem); }
  .header-inner { min-height: 4.7rem; gap: 1rem; }
  .wordmark small { display: none; }
  .site-nav { gap: .7rem; font-size: .78rem; }
  .site-nav a:last-child { padding: .3rem .45rem; }
  .hero { min-height: 33rem; margin-right: -.75rem; margin-left: -.75rem; padding: 4rem .75rem 3rem; flex-direction: column; align-items: start; justify-content: end; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-index { width: 100%; min-width: 0; }
  .content-grid, .hub-grid, .related-section .content-grid { grid-template-columns: 1fr; }
  .split-band { grid-template-columns: 1fr; gap: 2rem; margin-right: -.75rem; margin-left: -.75rem; padding: 2rem .75rem; }
  .level-rail { grid-template-columns: repeat(3, 1fr); }
  .level-rail a { min-height: 6rem; }
  .page-intro { padding-top: 3.8rem; }
  .detail-page { padding-top: 3.8rem; }
  .detail-header h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .course-offer { align-items: start; flex-direction: column; gap: 1rem; }
  .course-offer .button { width: 100%; }
  .search-row { align-items: stretch; flex-direction: column; }
  .search-row .button { width: 100%; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .content-card { transition: none; }
}

:root {
  --paper: #f8fafc;
  --paper-deep: #eef2ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --language: #4f46e5;
  --language-dark: #4338ca;
  --white: #fff;
  --shadow: 0 4px 6px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  font-family: 'Noto Sans TC', sans-serif;
}

html, body { overflow-x: hidden; }
body { background: #f8fafc; color: #0f172a; font-family: 'Noto Sans TC', sans-serif; }
main { padding: 0; }
h1, h2, h3 { font-family: 'Poppins', 'Noto Sans TC', sans-serif; font-weight: 700; }
.site-header { position: relative; z-index: 2; border-bottom: 0; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.site-header::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, #312e81, #4338ca 35%, #4f46e5 50%, #4338ca 65%, #312e81); content: ''; }
.header-inner, main { width: min(1140px, calc(100% - 2rem)); }
.header-inner { min-height: 4.7rem; }
.wordmark { gap: .65rem; }
.wordmark-image { width: 42px; height: 42px; border-radius: 50%; }
.wordmark strong { color: #4f46e5; font-family: 'Poppins', 'Noto Sans TC', sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.wordmark small { color: #333; font-size: .72rem; }
.site-nav { gap: .35rem; font-size: .88rem; }
.site-nav a { padding: .55rem .7rem; color: #444; font-weight: 600; }
.site-nav a:hover { color: #4f46e5; }
.site-nav .nav-search { border: 1px solid #e2e8f0; border-radius: 8px; }

.hero-section, .funnel-section, .conversion-section { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.hero-section { position: relative; overflow: hidden; padding: 6.25rem 1rem 4rem; background: linear-gradient(150deg, #4338ca 0%, #4f46e5 45%, #6366f1 80%, #818cf8 100%); color: #fff; text-align: center; }
.hero-section::before { position: absolute; inset: -40%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .07), transparent 65%); content: ''; pointer-events: none; }
.hero-inner, .section-inner { position: relative; width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.hero-avatar { width: 140px; height: 140px; margin-bottom: 1.25rem; border: 4px solid rgba(255, 255, 255, .85); border-radius: 50%; box-shadow: 0 8px 32px rgba(0, 0, 0, .28); object-fit: cover; }
.hero-kicker { margin: 0 0 .5rem; color: rgba(255, 255, 255, .8); font-size: .95rem; font-weight: 700; }
.hero-title { max-width: none; margin-bottom: .75rem; color: #fff; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.25; text-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.hero-title span { color: #a5b4fc; }
.hero-subtitle { max-width: 640px; margin: 0 auto 1.75rem; color: rgba(255, 255, 255, .92); font-size: 1.05rem; line-height: 1.8; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.hero-badges span { padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-size: .82rem; font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.hero-cta .button { min-height: 0; padding: .75rem 2rem; border: 2px solid #fff; border-radius: 999px; font-size: 1rem; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.hero-cta .button:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.hero-cta .button-primary { background: #fff; color: #4f46e5; }
.hero-cta .button-primary:hover { background: #eef2ff; color: #3730a3; }
.hero-cta .button-outline { background: transparent; color: #fff; }
.hero-cta .button-outline:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; margin-top: 2.25rem; }
.hero-stats div { display: grid; gap: .1rem; }
.hero-stats strong { color: #a5b4fc; font-size: 1.9rem; font-weight: 900; text-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.hero-stats span { color: rgba(255, 255, 255, .88); font-size: .82rem; }

.funnel-section { padding: 3.75rem 0; }
.funnel-section.bg-light-custom { background: #eef5ff; }
.funnel-section.bg-white { background: #fff; }
.section-header { margin-bottom: 2.25rem; text-align: center; }
.section-header h2 { color: #0f172a; font-size: 1.8rem; }
.section-header p { margin: .5rem 0 0; color: #666; font-size: 1rem; }
.section-divider { width: 60px; height: 4px; margin: .75rem auto 0; border-radius: 2px; background: linear-gradient(90deg, #4f46e5, #818cf8); }
.content-grid { gap: 1.5rem; }
.funnel-section .content-grid { width: 100%; }
.content-card.card-modern { position: relative; min-height: 100%; overflow: hidden; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 4px 6px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04); transition: transform .2s ease, box-shadow .2s ease; }
.content-card.card-modern:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06), 0 -3px 0 #4f46e5; }
.card-media { aspect-ratio: auto; height: 180px; }
.card-index { min-height: 180px; background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #4f46e5; }
.card-body { padding: 1.25rem; }
.card-body h3 { font-family: 'Noto Sans TC', sans-serif; font-size: 1.15rem; font-weight: 700; }
.card-body h3 a:hover { color: #4f46e5; }
.card-kicker { font-size: .76rem; }
.card-footer { border-top-color: #edf0f5; }
.free-badge { position: absolute; top: .65rem; right: .65rem; z-index: 1; padding: .25rem .75rem; border-radius: 999px; background: linear-gradient(135deg, #4f46e5, #6366f1); color: #fff; font-size: .75rem; font-weight: 700; }
.empty-state { border: 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.section-action { margin-top: 1.5rem; text-align: center; }
.button-outline-danger { border: 2px solid #4f46e5; border-radius: 999px; color: #4f46e5; font-weight: 700; }
.button-outline-danger:hover { background: #4f46e5; color: #fff; }

.conversion-section { padding: 5rem 0; background: linear-gradient(150deg, #4338ca 0%, #4f46e5 45%, #6366f1 80%, #818cf8 100%); color: #fff; }
.conversion-section .section-header h2 { color: #fff; }
.conversion-section .section-header p { color: rgba(255, 255, 255, .75); }
.conversion-section .section-divider { background: rgba(255, 255, 255, .75); }
.conversion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.conversion-card { display: flex; height: 100%; flex-direction: column; padding: 2.25rem 1.75rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 20px; background: rgba(255, 255, 255, .07); text-align: center; transition: background .3s, transform .2s; }
.conversion-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .14); }
.conversion-card .icon-wrap { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 1.25rem; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #818cf8); box-shadow: 0 4px 16px rgba(79, 70, 229, .4); font-size: 1.8rem; }
.conversion-card h3 { color: #fff; font-family: 'Noto Sans TC', sans-serif; font-size: 1.2rem; }
.conversion-card p { margin: .75rem 0 1.25rem; color: rgba(255, 255, 255, .75); font-size: .92rem; line-height: 1.75; }
.cta-buttons { display: grid; gap: .5rem; margin-top: auto; }
.cta-buttons a { display: block; padding: .55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #4f46e5; font-size: .87rem; font-weight: 700; text-decoration: none; }
.cta-buttons a:hover { background: #fff; color: #3730a3; }
.lifetrails-section { border-top: 4px solid #0f766e; }

.page-intro { max-width: 760px; padding-top: 4.5rem; }
.page-intro h1 { color: #0f172a; font-family: 'Poppins', 'Noto Sans TC', sans-serif; }
.filter-nav a, .hub-link, .course-offer, .search-result { border-radius: 10px; }
.filter-nav a { background: #fff; }
.hub-link { border-top: 3px solid #4f46e5; box-shadow: var(--shadow); }
.course-offer { border: 0; box-shadow: var(--shadow); }
.search-row input { border-radius: 8px; }
.site-footer { display: block; width: 100%; max-width: none; margin: 0; padding: 3rem max(1rem, calc((100% - 1140px) / 2)) 1.5rem; border-top: 3px solid #4f46e5; background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: start; gap: 2rem; max-width: 1140px; margin: 0 auto; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .7rem; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; }
.footer-brand strong { color: #4f46e5; font-family: 'Poppins', 'Noto Sans TC', sans-serif; }
.footer-brand p { grid-column: 1 / -1; max-width: 25rem; margin: .8rem 0 0; color: #64748b; font-size: .82rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: .65rem 1.5rem; }
.footer-links a { color: #64748b; font-size: .86rem; text-decoration: none; }
.footer-links a:hover { color: #4f46e5; }
.footer-community { display: grid; justify-items: center; gap: .4rem; }
.footer-community img { width: 110px; height: 110px; }
.footer-community a { color: #64748b; font-size: .8rem; text-decoration: none; }
.footer-bottom { max-width: 1140px; margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid #e2e8f0; color: #94a3b8; font-size: .76rem; text-align: center; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .65rem; padding: .75rem 0 1rem; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: .2rem; }
  .site-nav a { padding: .35rem .45rem; font-size: .75rem; }
  .hero-section { padding: 4.5rem .75rem 3rem; }
  .hero-inner, .section-inner { width: min(100% - 1rem, 38rem); }
  .hero-avatar { width: 120px; height: 120px; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: .95rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stats strong { font-size: 1.55rem; }
  .conversion-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-community { justify-items: start; }
}