/* /tour/ — 開課快手產品頁＋業務版公開教學頁。手機優先、不載外部資源。
 *
 * 2026-10-17 改淺色（老爸：「背景太黑了，這樣真的有 Apple 的感覺嗎？」）：
 *   - apple.com 的產品頁以白底為主、淺灰（#F5F5F7）段落換氣，黑底只留給特定產品——整站黑底
 *     讀起來像夜間模式。改成白／淺灰交替；文字 #1D1D1F（白底 16.8:1）、次要 #6E6E73
 *     （白底 5.1:1、淺灰底 4.7:1）、連結與按鈕 ACpay 藍 #2563B5（白底 5.95:1）。
 *   - 手機外框改細邊、鈦金屬邊條；首頁的手機換成「打開的 iPhone Duo」：左半課程列表、右半課程頁，
 *     中間一道摺痕——HIG designing-for-iphone-duo.md 說內螢幕要「列表與內容並排」，Mail 就是這樣。
 *     示意外框是 CSS 畫的，不是 Apple 的產品圖。
 *
 * （以下為第四階段黑底版的原始說明，色值已由上面取代）
 *
 * 2026-10-16 Apple 風格第四階段（老爸：產品圖與整體視覺要像 apple.com、有科技感）：
 *   - 黑底發表會頁：毛玻璃膠囊導覽、大標、ACpay 青藍光暈（Logo 的兩個顏色）、真實畫面放進
 *     筆電／手機外框；中段一塊淺灰底（#F5F5F7）換氣，跟 apple.com 一黑一白的節奏一樣。
 *   - 玻璃只用在浮動導覽，內容卡片不上玻璃（HIG liquid-glass.md）；減少透明度時換實色。
 *   - 文字對比：黑底主文 #F5F5F7（19:1）、次要 #A1A1A6（8:1）；淺灰段主文 #1D1D1F、次要 #6E6E73。
 * 這支檔案獨立於後台的 style.css／admin-theme.css，兩邊刻意不共用 token。
 */

:root {
  --accent: #2563B5;        /* 淺底上的主色（白字 5.95:1） */
  --accent-on-dark: #2563B5; /* 沿用舊名：淺色版一律用同一個藍 */
  --logo-grad: linear-gradient(90deg, #15CDCA 0%, #3D8BFF 55%, #6E7BFF 100%);
  /* 白底上的漸層字：Logo 原色 #15CDCA 在白底只有 1.9:1，換成同色相加深的版本（最淺端 #0B8F8C 3.9:1，
     20px 粗體屬大字，門檻 3:1） */
  --logo-grad-text: linear-gradient(90deg, #0B8F8C 0%, #2563B5 55%, #4B55C8 100%);
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --card-bg: #F5F5F7;
  --card-hover: #ECECF0;
  --text: #1D1D1F;
  --text-muted: #6E6E73;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --nav-h: 48px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden; /* 不支援 clip 的舊瀏覽器 */
  overflow-x: clip;   /* 切掉光暈的橫向溢出，但不讓 body 變成捲動容器（sticky 導覽才黏得住） */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px; /* 大字：正文最小 17px */
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-on-dark); }

/* ---------------------------------------------------------------------------
 * 導覽：浮在最上面的毛玻璃膠囊
 * ------------------------------------------------------------------------- */
.tour-header {
  position: sticky;
  /* 選單面板以這裡為定位基準 */
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 12px 12px 0;
  padding-top: max(12px, env(safe-area-inset-top));
  pointer-events: none; /* 膠囊外的透明區不擋住底下內容 */
}
.tour-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 920px;
  height: var(--nav-h);
  padding: 0 6px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.tour-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap; /* 窄螢幕上「開課快手」不准被擠成一字一行 */
}
.tour-logo {
  height: 18px;
  width: auto;
  display: block; /* 白底用全彩 Logo，不再反白 */
}
.tour-brand-text { font-size: 0.95rem; font-weight: 600; }
.tour-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}
.tour-nav-link:hover { color: #000000; text-decoration: underline; }
.tour-nav-link[aria-current="page"] { color: #000000; font-weight: 600; }
.tour-nav-links { display: none; align-items: center; margin-right: 6px; }

/* 手機：導覽連結收進「選單」（site.js wireMenu） */
.tour-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 2px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.tour-menu-btn:focus-visible, .tour-nav a:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; }
.tour-menu {
  pointer-events: auto;
  position: absolute;
  top: calc(100% + 8px);
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.tour-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--text);
  font-size: 1.0625rem;
  text-decoration: none;
}
.tour-menu a:hover, .tour-menu a[aria-current="page"] { background: rgba(0, 0, 0, 0.05); }
@media (min-width: 820px) {
  .tour-nav-links { display: flex; }
  .tour-menu-btn, .tour-menu { display: none !important; }
}
.tour-nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.tour-nav-cta:hover { background: #1B4F94; }

.tour-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  min-height: calc(100vh - 140px);
}

.tour-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 28px 16px calc(36px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.tour-footer p { margin: 0; }
.tour-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  margin: 0 auto 14px;
  max-width: 640px;
}
.tour-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.tour-footer-links a:hover { text-decoration: underline; }
.tour-footer-sub { margin-top: 4px !important; font-size: 0.8rem; }

/* ---------------------------------------------------------------------------
 * 首頁：發表會（tk-*）
 * ------------------------------------------------------------------------- */
.tk-hero {
  position: relative;
  padding: 56px 0 0;
  text-align: center;
}
.tk-eyebrow {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--logo-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tk-title {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(2.6rem, 9vw, 5.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}
/* 「終身免系統軟體費」（2026-10-17 老爸：免費是貫穿整個服務的重點，要強調終身免系統軟體費）：大標正下方第二行，用 Logo 漸層字，
 * 跟 apple.com 產品頁「大標＋一句漸層副標」同一個節奏。漸層最淺端 3.9:1，這個字級屬大字（門檻 3:1）。 */
.tk-free {
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 6vw, 3.6rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--logo-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tk-free-inline {
  font-weight: 700;
  background: var(--logo-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tk-free-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  text-align: left;
}
@media (min-width: 640px) { .tk-free-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tk-free-list { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.tk-free-list li {
  position: relative;
  padding: 18px 20px 18px 58px;
  border-radius: 18px;
  background: var(--card-bg);
}
.tk-free-list b { display: block; font-size: 1.125rem; font-weight: 600; color: var(--text); }
.tk-free-list span:not(.tk-free-check) { display: block; margin-top: 2px; color: var(--text-muted); font-size: 0.95rem; }
.tk-free-check {
  position: absolute;
  left: 18px;
  top: 19px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
}

.tk-lede {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(1.06rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--text-muted);
}
.tk-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 26px;
}
.tk-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.tk-btn:hover { background: #1B4F94; }
.tk-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.0625rem;
  text-decoration: none;
}
.tk-link:hover { text-decoration: underline; }

/* 舞台：光暈＋筆電＋手機（裝飾，圖片 alt 空白；同樣的畫面下面各段有完整 alt） */
.tk-stage {
  position: relative;
  margin: 48px auto 0;
  max-width: 900px;
  padding-bottom: 8px;
}
.tk-glow {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 120%;
  height: 90%;
  transform: translateX(-50%);
  border-radius: 50%;
  /* 白底上光暈只留一層淡淡的青藍，讓機器浮起來，不搶畫面 */
  background: radial-gradient(closest-side, rgba(21, 205, 202, 0.22), rgba(61, 139, 255, 0.14) 48%, rgba(110, 123, 255, 0.04) 74%, rgba(255, 255, 255, 0) 100%);
  filter: blur(36px);
  pointer-events: none;
}

/* 筆電外框：黑色細邊螢幕＋銀色底座（白底上要像 MacBook，不是一塊黑板） */
.tk-laptop {
  position: relative;
  width: 88%;
  margin: 0 auto;
}
.tk-laptop-screen {
  border-radius: 18px 18px 6px 6px;
  padding: 1.1%;
  background: #0B0B0D;
  box-shadow: 0 0 0 1.5px #C9CACD, 0 30px 70px rgba(0, 0, 0, 0.18);
}
.tk-laptop-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #0B0B0D;
}
.tk-laptop-base {
  position: relative;
  width: 112%;
  left: -6%;
  height: 14px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #E3E4E6 0%, #B9BABE 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.tk-laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #A7A8AC;
}

/* 微微折起的 iPhone Duo（示意，CSS 畫的）。比例量自 apple.com/iphone-duo 官方產品圖（2026-10-17）：
 * 整台打開約 1.41:1、黑邊約全寬 1.4%、金屬邊約 0.7%（中灰銀）。
 * 2026-10-17 老爸第三輪：「不像 iPhone Duo、沒有折起來的感覺，像一台 iPad」——平放的 1.41:1 確實就是
 * iPad 的樣子。改成官網主視覺那種「書本半開」的姿勢：左右兩半各自是一塊面板，以中間轉軸為準
 * 各往觀眾這邊轉 13°（外緣靠近、轉軸在後），轉軸處加一點陰影讓摺線讀得出來；
 * 官方說內螢幕平整、沒有摺痕，所以只有角度與光影，不畫一條線。
 * 下面的百分比都是「相對半邊寬度」：半邊 = 全寬一半，所以金屬邊 1.4%、黑邊 2.8% ＝ 全寬 0.7%／1.4%。
 * 兩半是同一個 App 的列表＋內容（HIG designing-for-iphone-duo.md › Split views）。 */
.tk-duo {
  position: relative;
  display: flex;
  perspective: 1600px;
  perspective-origin: 50% 40%;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.16)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.08));
}
.tk-duo-half {
  position: relative;
  flex: 1 1 0;
  padding: 1.4%;
  background: linear-gradient(145deg, #CDCFD3 0%, #A2A5AA 50%, #BDBFC3 100%);
}
.tk-duo-l {
  padding-right: 0;
  border-radius: 13% 0 0 13% / 9.2% 0 0 9.2%;
  transform-origin: right center;
  transform: rotateY(13deg);
}
.tk-duo-r {
  padding-left: 0;
  border-radius: 0 13% 13% 0 / 0 9.2% 9.2% 0;
  transform-origin: left center;
  transform: rotateY(-13deg);
  background: linear-gradient(215deg, #C4C6CA 0%, #9A9DA2 50%, #B3B5B9 100%);
}
.tk-duo-glass {
  position: relative;
  padding: 2.8%;
  background: #0B0B0D;
}
.tk-duo-l .tk-duo-glass { padding-right: 0; border-radius: 12% 0 0 12% / 8.5% 0 0 8.5%; }
.tk-duo-r .tk-duo-glass { padding-left: 0; border-radius: 0 12% 12% 0 / 0 8.5% 8.5% 0; }
.tk-duo-glass img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 1106; /* 1.41:1 的內螢幕每半邊 */
  background: #F2F2F7;
}
.tk-duo-l .tk-duo-glass img { border-radius: 9.6% 0 0 9.6% / 6.7% 0 0 6.7%; }
.tk-duo-r .tk-duo-glass img { border-radius: 0 9.6% 9.6% 0 / 0 6.7% 6.7% 0; }
/* 光影：兩半朝不同方向，轉軸那邊比較暗；右半整體再暗一點（光從左上來） */
.tk-duo-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}
.tk-duo-l .tk-duo-glass::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.12) 100%); }
.tk-duo-r .tk-duo-glass::after { background: linear-gradient(270deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.03) 60%, rgba(0, 0, 0, 0.16) 100%); }
.tk-duo-hero {
  position: absolute;
  right: -3%;
  bottom: -7%;
  width: 48%;
  min-width: 240px;
}
.tk-duo-side { width: min(560px, 100%); margin: 0 auto; }
/* 2026-10-17 老爸：「內頁手機外框還是非常粗，也改成 iPhone Duo」——功能頁、首頁學員段全部換成 Duo，
 * 直式手機外框（.tk-phone）整個拿掉。 */
.tk-duo-center { width: min(640px, 100%); margin: 48px auto 0; }
@media (prefers-reduced-motion: reduce) { .tk-duo-l, .tk-duo-r { transition: none; } }

/* 一段一段的內容帶 */
.tk-band {
  margin: 96px auto 0;
  text-align: center;
}
.tk-band-light {
  /* 滿版淺灰帶：用 box-shadow 往兩側延伸背景，不必拆出 .tour-main（overflow-x: clip 會切齊視窗） */
  background: #F5F5F7;
  box-shadow: 0 0 0 100vmax #F5F5F7;
  clip-path: inset(0 -100vmax);
  color: #1D1D1F;
  padding: 72px 0;
}
.tk-kicker {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent-on-dark);
}
.tk-band-light .tk-kicker { color: var(--accent); }
.tk-h2 {
  margin: 0;
  text-wrap: balance; /* 手機上不留「了。」這種單獨一行的尾巴 */
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tk-sub {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  color: var(--text-muted);
}
.tk-band .tk-laptop-wide { margin-top: 44px; width: 92%; }

.tk-split {
  display: grid;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.tk-split .tk-copy { max-width: 460px; margin: 0 auto; }
.tk-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: tkstep;
}
.tk-steps li {
  position: relative;
  padding-left: 46px;
  color: #6E6E73;
  font-size: 1.0625rem;
  counter-increment: tkstep;
}
.tk-steps li::before {
  content: counter(tkstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tk-steps b { display: block; color: #1D1D1F; font-size: 1.25rem; }

.tk-closing { padding-bottom: 40px; }

/* 首頁「開課快手是什麼」：純文字說明段（給爬蟲與 AI 搜尋讀，也給想先看文字的訪客） */
.tk-about-grid {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  text-align: left;
}
@media (min-width: 900px) { .tk-about-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.tk-about h3 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.tk-about ul, .tk-about ol { margin: 0; padding: 0 0 0 1.2em; display: flex; flex-direction: column; gap: 12px; color: var(--text-muted); }
.tk-about li b { display: block; color: var(--text); font-size: 1.0625rem; }
.tk-about p { margin: 0; color: var(--text-muted); line-height: 1.7; }
.tk-about ol + p { margin-top: 14px; }
.tk-about .tk-sub { margin: 16px auto 0; }
.tk-about a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
#features { scroll-margin-top: 84px; } /* 別被浮動導覽膠囊蓋住標題 */

/* ---------------------------------------------------------------------------
 * 官網內頁（2026-10-17）：功能、適合誰、常見問題
 * ------------------------------------------------------------------------- */
.tk-pagehead { padding: 56px 0 0; text-align: center; }
.tk-more { margin: 22px 0 0; font-size: 1.0625rem; font-weight: 600; }
.tk-more a { text-decoration: none; }
.tk-more a:hover { text-decoration: underline; }
.tk-band-light .tk-more a { color: var(--accent); }
.tk-band-light .tk-sub { color: #6E6E73; }
.tk-band-light .tk-h2 { color: #1D1D1F; }

.tk-cards {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  text-align: left;
}
@media (min-width: 640px) { .tk-cards { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 980px) { .tk-cards { grid-template-columns: repeat(3, 1fr); } }
.tk-card {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
}
.tk-card h3 { margin: 0 0 6px; font-size: 1.1875rem; font-weight: 600; }
.tk-card p { margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.55; }
.tk-band-light .tk-card { background: #FFFFFF; border-color: #E5E5EA; }
.tk-band-light .tk-sol, .tk-band-light .tour-cat-card { background: #FFFFFF; border-color: #E5E5EA; }
.tk-band-light .tk-card h3 { color: #1D1D1F; }
.tk-band-light .tk-card p { color: #6E6E73; }
.tk-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 13px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #15CDCA 0%, #3D4FD4 100%);
}

/* 適合誰 */
.tk-sols {
  display: grid;
  gap: 14px;
  text-align: left;
}
@media (min-width: 760px) { .tk-sols { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1000px) { .tk-sols { grid-template-columns: repeat(3, 1fr); } }
/* 連鎖品牌不是一個行業、是規模：六個行業排成 3×2，連鎖那張橫跨整排放最後（不留一張孤零零的卡） */
.tk-sol-wide { grid-column: 1 / -1; }
.tk-sol {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 22px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
}
.tk-sol h2 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: -0.01em; }
.tk-sol-pain { margin: 0 0 14px; color: var(--text-muted); }
.tk-sol ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tk-sol li { position: relative; padding-left: 22px; line-height: 1.5; }
.tk-sol li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-on-dark);
}
.tk-sol-ask {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.tk-sol-ask:hover { text-decoration: underline; }

/* 常見問題：原生 <details>，鍵盤、螢幕報讀都不用另外處理 */
.tk-faq-wrap { max-width: 820px; text-align: left; }
.tk-faq-group { margin-top: 40px; }
.tk-faq-group:first-child { margin-top: 0; }
.tk-faq-group h2 { margin: 0 0 12px; font-size: 1.5rem; letter-spacing: -0.01em; }
.tk-faq { border-bottom: 1px solid var(--border); }
.tk-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 2px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-on-dark);
}
.tk-faq[open] summary::after { content: "−"; }
.tk-faq summary:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; border-radius: 6px; }
.tk-faq p { margin: 0 0 18px; color: var(--text-muted); font-size: 1.0625rem; }

@media (min-width: 760px) {
  .tk-hero { padding-top: 84px; }
  .tk-pagehead { padding-top: 84px; }
  .tk-split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .tk-split .tk-copy { margin: 0; justify-self: end; }
    .tk-band { margin-top: 140px; }
  .tk-band-light { padding: 104px 0; }
}

/* 捲到才淡入（tour.js wireReveal；減少動態效果時直接顯示） */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------------
 * 8 大類卡（首頁「功能影片」段）
 * ------------------------------------------------------------------------- */
.tour-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
  text-align: left;
}
@media (min-width: 760px) {
  .tour-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.tour-cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  min-height: 44px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}
.tour-cat-card:hover { background: var(--card-hover); text-decoration: none; transform: translateY(-2px); }
.tour-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #15CDCA 0%, #3D4FD4 100%);
  font-size: 1.6rem;
  line-height: 1;
}
.tour-cat-name { font-size: 1.125rem; font-weight: 600; }
.tour-cat-blurb-sm { font-size: 0.9rem; line-height: 1.45; color: var(--text-muted); }
.tour-cat-count { margin-top: auto; padding-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--accent-on-dark); }

/* ---------------------------------------------------------------------------
 * 類別頁／功能頁（沿用原本的結構，換成黑底）
 * ------------------------------------------------------------------------- */
.tour-back-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 18px;
}
.tour-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.tour-back-link:hover { text-decoration: none; background: var(--card-hover); }

.tour-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.tour-cat-header .tour-cat-icon { margin-bottom: 0; }
.tour-cat-header h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: -0.02em; }
.tour-cat-blurb { color: var(--text-muted); margin: 0 0 24px; font-size: 1.125rem; }

.tour-feature-list {
  display: grid;
  gap: 12px;
}
@media (min-width: 760px) {
  .tour-feature-list { grid-template-columns: 1fr 1fr; }
}
.tour-feature-item {
  display: block;
  padding: 18px 20px;
  min-height: 44px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}
.tour-feature-item:hover { text-decoration: none; background: var(--card-hover); }
.tour-feature-item-title { font-size: 1.125rem; font-weight: 600; margin: 0 0 4px; }
.tour-feature-item-pitch { color: var(--text-muted); margin: 0; }

.tour-feature-page { max-width: 860px; margin: 0 auto; }
.tour-feature-page h1.tour-pitch {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 4px 0 22px;
}
.tour-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0B0B0D;
  border: 1px solid var(--border);
  margin-bottom: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
}
.tour-video-wrap video { display: block; width: 100%; height: auto; }
/* 影片還沒上傳完時的友善占位（Fix round 1 item 13）：video onerror 換成這個，
   不留黑色空盒子。 */
.tour-media-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 16 / 9; width: 100%; color: var(--text-muted); font-size: 1.05rem; font-weight: 600;
}
.tour-fit-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.tour-fit-box h2 { margin: 0 0 6px; font-size: 1.0625rem; }
.tour-fit-box p { margin: 0; color: var(--text-muted); }

.tour-nav-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}
.tour-nav-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  min-height: 48px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.tour-nav-btn:hover { text-decoration: none; background: var(--card-hover); }
.tour-nav-btn.is-disabled {
  visibility: hidden;
}

/* 空狀態（沒有已上架的功能／類別） */
.tour-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.tour-empty h1, .tour-empty h2 { color: var(--text); font-size: 1.3rem; margin: 0 0 8px; }

.tour-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* 「減少透明度」：導覽膠囊換實色 */
@media (prefers-reduced-transparency: reduce) {
  .tour-nav, .tour-menu {
    background: #FFFFFF;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
