/* FlowSaga 網站共用樣式（2026-10-01；2026-10-16 12:37 錄影改版）。中英兩版、首頁與法遵頁都用這一份，不各存一份。
   配色跟品牌素材走：品牌藍 #0059BB（GPT圖片 審定清單 2026-09-23 實測）＋白底。
   2026-10-16 主公：「字不夠大、廢話很多、不夠簡潔有力、看了眼花繚亂」「這個 logo 就要這麼大」「Flow 是黑的、Saga 才是藍的」。
   字級依據：Lazyweb 2026 審計 518 套設計系統 73% 以 16px 為基準（這是下限）；W3C／內容型網站常用 18px；
   Lighthouse「40% 以上文字小於 12px 就不及格」。所以正文 18px（手機 17px）、小字不低於 15px、標題再放大。 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f2f6fc;
  --line: #d5e1f0;
  --text: #0b1b2e;
  --muted: #3f5068;
  --brand: #0059bb;
  --brand-dark: #00468f;
  --ink: #12264a;
  --wm-flow: #000000;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.75;
  font-size: 18px;
  /* 2026-10-17 91 語：德文、芬蘭文的長複合字（Oberflächensprachen、käyttöliittymäkieltä）在手機寬 375 撐破功能卡（實量 de 多 19px、fi 多 1px）——擠不下才在字裡斷開 */
  overflow-wrap: break-word;
}
/* 標題字大、最容易被一個長字撐破：可斷字的語言照該語言規則加連字號（lang 屬性每頁都有） */
h1, h2, h3 { hyphens: auto; }
/* 英文頁拉丁字型排前面（2026-10-12：中文字型把 ’ 畫成全形，「Flow’s」變「Flow’ s」）；頁上的中文字照樣退回中文字型 */
html[lang="en"] body { font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
a { color: var(--brand); }
code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.narrow { max-width: 780px; }

/* 頁首：主標誌的排法——船在上、FlowSaga 在下（Flow 深色、Saga 品牌藍——品牌定案 2026-09-23「主公選黑 Flow＋藍 Saga」）。
   2026-10-16 20:51 錄影「我不是說過這個 logo 要大嗎……至少這麼大、不要超出去……它的下面寫 SAGA」：船用裁掉留白的 ship-mark.svg，116×90。
   22:30 錄影第三次「這麼小在幹嘛……這麼大」→ 176×136、字 2rem（字寬約船寬九成：G016 主標實量 805／915＝0.88）；Flow 用主標實測的純黑 #000（以前 --ink 是深藍） */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: 176px; height: 136px; }
.wordmark { font-weight: 900; font-size: 2rem; letter-spacing: .01em; line-height: 1; }
.wm-flow { color: var(--wm-flow); }
.wm-saga { color: var(--brand); }
/* 標題裡的 FlowSaga（build-site brandHeadings）：藍底的地方兩段都跟著白字，不出現藍底黑字 */
.wm { white-space: nowrap; }
.hero .wm-flow, .hero .wm-saga, .cta-band .wm-flow, .cta-band .wm-saga, .closing .wm-flow, .closing .wm-saga { color: inherit; }
.vmore { margin: 18px 0 0; font-weight: 700; font-size: 1.1rem; }
.videos-page h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); line-height: 1.2; margin: 0 0 8px; font-weight: 900; color: var(--brand); }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 1rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--brand); }
/* 頁首語言選單（2026-10-17 91 語：以前一顆「English／繁體中文」互切，現在 91 個母語名收在 <details> 裡；沒有 JS 也能用） */
.langmenu { position: relative; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
.langmenu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: 1rem; font-weight: 400; color: var(--muted); }
.langmenu > summary::-webkit-details-marker { display: none; }
.langmenu[open] > summary, .langmenu > summary:hover { border-color: var(--brand); color: var(--brand); }
.langmenu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 40, 90, .18); width: min(560px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 8px; }
.top nav .langmenu li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); font-size: 1rem; line-height: 1.5; }
.top nav .langmenu li a:hover { background: var(--soft); color: var(--brand); }
.top nav .langmenu li a[aria-current="true"] { background: var(--brand); color: #fff; }
/* 翻譯版的法遵頁：標題下面一行「這是翻譯，以英文版為準」 */
.legalnote { background: #fff8dc; border: 1px solid #e8d48a; border-radius: 10px; padding: 10px 14px; margin: 8px 0 20px; color: var(--text); font-size: 1rem; }
/* 烏爾都文 Nastaliq 字體上下伸得很長：行高加大，不讓上下兩行的字疊在一起 */
/* 2026-10-17 真瀏覽器實量「字墨高度÷行高」（同一種字型、同一個字級，把每個字的上下伸出量取最大）：烏爾都文大標題 1.22、內文 1.11——上下兩行的筆畫會碰；放大到 ≤1 */
html[lang="ur"] body { line-height: 2.6; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] summary { line-height: 2.4; }
/* 同一把尺量到的其他語言（首屏大標題、區塊標題超過 1）：阿拉伯字母（ar 1.26、ps 1.15、fa 1.05、sd 1.02）、緬甸文（1.20／h2 1.13）、高棉文 1.23、
   僧伽羅文 1.02、泰盧固文 1.05——上方的母音符號與下方的疊字很高，拉丁字的 1.22 行高不夠 */
html[lang="ar"] .hero h1, html[lang="fa"] .hero h1, html[lang="ps"] .hero h1, html[lang="sd"] .hero h1, html[lang="my"] .hero h1, html[lang="km"] .hero h1 { line-height: 1.6; }
html[lang="si"] .hero h1, html[lang="te"] .hero h1 { line-height: 1.35; }
html[lang="ps"] section h2, html[lang="my"] section h2 { line-height: 1.5; }
/* 英文頁給中文瀏覽器的一行提示（build-site 只在 navigator.language 是 zh 時顯示；可關掉） */
.langnote { background: #fff8dc; border-bottom: 1px solid #e8d48a; font-size: 1rem; }
.langnote .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.langnote a { color: var(--brand-dark); font-weight: 700; }
.langnote button { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }

/* 首頁橫幅：品牌藍底、白色長船、底下兩道波浪（呼應品牌首圖） */
.hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center; padding-top: 60px; padding-bottom: 100px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 4.8vw, 3rem); line-height: 1.22; margin: 0 0 16px; font-weight: 900; }
/* 中文標題只在標點處換行，不把「命名」拆成兩行（擠不下時才允許任意處斷開） */
:lang(zh) .hero h1, :lang(zh) h2, :lang(zh) h3, :lang(yue) .hero h1, :lang(yue) h2, :lang(yue) h3 { word-break: keep-all; overflow-wrap: anywhere; }
.hero p { color: #e3eeff; font-size: 1.2rem; margin: 0 0 12px; }
/* 賣點：完成導覽永久 8 折（2026-10-16 主公「如何獲得 20% 的永久折扣，這個是賣點，最好打在第一頁」） */
.hero .deal { display: inline-block; margin: 6px 0 0; padding: 10px 18px; border-radius: 12px; background: #fff; color: var(--brand-dark); font-weight: 900; font-size: 1.35rem; }
/* 2026-10-16 20:51 錄影：「打那個最高優惠永久八折，然後括號，告訴大家可能之後會取消」——括號那一句跟在後面、字小一點 */
.hero .deal .deal-note { font-weight: 700; font-size: .8em; color: var(--muted); }
/* 拿到的條件（不寫「導覽」兩個字：主公「客戶會以為是在這邊導覽」）；不准低於 15px */
.hero .deal-how { margin: 10px 0 0; font-size: 1rem; color: #e3eeff; max-width: 560px; }
/* 2026-11-01 首屏換成主公定的 11 條核心優勢（docs/介紹與核心優勢.md 第三節）：說明下面的小字＝條件（一次 20 部要訂閱、模仿要 Google AI 付費方案、AI 用自己的金鑰）。
   15px（不准低於 15px）、行距 1.5；下邊距 6＋8 折塊上邊距 6＝12，跟其他段同間距（8 折塊是 inline-block，邊距不合併）。
   字多了左欄變高：Edge 實量 1280 寬中文頁左欄比影片卡高 146 px（超過 120 上限、卡底比教學鈕高 26 px），小字這樣排加上中文大標題行距（下面 @media）才收回 120 以內 */
.hero .fine { font-size: .9375rem; line-height: 1.5; color: #e3eeff; margin-bottom: 6px; }
/* 2026-10-28 首屏右欄換成這一語的宣傳片（研究依據 docs/官網影片排版研究-2026-10-28.md）；原本的白色長船留作淡淡的背景（頁首已有同一艘船） */
.hero::before { content: ""; position: absolute; inset-inline-start: -70px; bottom: -50px; width: 440px; height: 440px; background: url(/img/ship-white.svg) no-repeat center / contain; opacity: .07; pointer-events: none; }
/* 2026-10-30 17:18 錄影 0:03–0:21、1:43–2:13（W1）：00:04 那版「上下排」主公 17:20 一看：「這是怎樣……感覺很斷版面，還是想要我剛剛說的那種感覺」——
   他要的一直是左字右片，只是影片要大：「這部影片太小，這邊空白太多，看我鼠標拉下來拉到這裡，對應這邊的間隔，只要這麼大」
   做法：左欄（標題、說明、兩顆鈕）固定 480～560 寬，宣傳片吃掉其餘的寬（首屏最寬 1600）；兩欄**底邊對齊**＝影片卡的底跟左欄最下面那顆鈕（教學影片鈕）齊。
   16:9 的影片高度跟著寬度走、左欄的高度跟著語言走，兩邊不一定一樣高（實量數字在判讀稿 W1 那一格）——差出來的空白放在影片上面（大標題旁邊），
   不放在鈕旁邊（10/28 那版頂對齊，空白在鈕旁邊，就是主公說的「這邊空白太多」）。不用腳本量了再算：第一版那樣做，卡被拉成跟左欄一樣高、影片上下多出黑邊（帳本 988）。
   1000 以下回到上下排（下面的 @media）。 */
.hero .wrap:has(.hero-video) { max-width: 1600px; grid-template-columns: minmax(0, clamp(480px, 40vw, 560px)) minmax(0, 1fr); column-gap: 36px; align-items: stretch; }
/* 左欄最後一顆（教學影片鈕那一段）不留下邊距：底邊對齊對的是鈕本身，不是鈕下面 12 px 的空白（.hero p 的下邊距） */
.hero .wrap:has(.hero-video) > div:first-child > :last-child { margin-bottom: 0; }
/* 兩欄時左欄的字跟著視窗寬縮一點：1550 寬以上跟原本一樣大（主公的螢幕 1536 寬只差不到 1 px），1280 寬大標題 40 px、內文 17 px——
   左欄矮一點，影片上面的空白才不會比 10/28 那版鈕旁邊的空白還大（第一版 1280 寬英文頁量到 271 px，Edge 真機尺 驗-官網排版.mjs）。
   只縮大標題、兩段說明、8 折那一塊；8 折說明本來就 1rem（不准低於 15px）、兩顆鈕不動。 */
@media (min-width: 1000px) {
  .hero .wrap:has(.hero-video) h1 { font-size: clamp(2.2rem, 3.1vw, 3rem); }
  /* 2026-11-01 新首屏中文大標題在兩欄版是 3 行：行距 1.22→1.12，中文頁 1280／1330 寬才維持「影片卡底邊對齊教學鈕」（10/31 定案：中文每種寬都完全底對齊） */
  :lang(zh) .hero .wrap:has(.hero-video) h1 { line-height: 1.12; }
  .hero .wrap:has(.hero-video) > div > p:not(.deal):not(.deal-how):not(.fine) { font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
  .hero .wrap:has(.hero-video) .deal { font-size: clamp(1.15rem, 1.4vw, 1.35rem); }
  /* 影片欄（10/31 00:2x 91 語實量後改）：卡往下放到底邊跟最下面那顆鈕齊，但卡頂最多比左欄頂低 120 px——多數語言的左欄比 16:9 的卡高 200～550 px，
     全部底對齊會在影片上面空一大塊、把影片推到第一屏外面；中文頁差 20～90 px，照樣完全底對齊。
     做法：影片欄撐滿整列高，上面一塊空白（最多 120）、卡、下面一塊空白；空白先給上面，超過 120 的才放到卡下面（彈性盒子的 max-height 凍結再重分）。
     兩塊空白的基準是 0，不會把整列撐高；卡比左欄高時（1920 寬中文頁）左欄貼底。 */
  .hero .wrap:has(.hero-video) > div:first-child { align-self: end; }
  .hero .wrap:has(.hero-video) > .hero-video { display: flex; flex-direction: column; }
  .hero .wrap:has(.hero-video) > .hero-video::before { content: ""; flex: 1000 1 0; max-height: 120px; }
  .hero .wrap:has(.hero-video) > .hero-video::after { content: ""; flex: 1 1 0; }
  .hero .wrap:has(.hero-video) > .hero-video > .reel-item { flex: none; }
}
.hero-video { min-width: 0; }
.hero-video .reel-item { border: 0; box-shadow: 0 18px 44px rgba(0, 20, 60, .38); }
/* 首屏那一支的第二行字幕（預設英文）比卡片裡的大一號：主公「字至少這麼大」 */
.hero-video .reel-item .vsub { font-size: 1.35rem; min-height: 2.6em; }
@media (max-width: 999px) {
  /* 1000 以下回到上下排（文字與鈕在上、宣傳片在下）：兩欄時左欄 480 加影片至少 400、加間距擠不進去 */
  .hero .wrap:has(.hero-video) { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
}
/* 首屏「教學影片」鈕（3.9.152；錄影 5:19「教學就用個按鈕就好，按下去跳到影片區」、5:57「一樣做成白色的，這明顯」）：跟安裝鈕同一款白鈕，
   class 不叫 cta——verify-site 數 class="cta" 的顆數當安裝鈕 */
.hero-tut { margin: 10px 0 0; }
.cta-tut { display: inline-block; padding: 12px 26px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 900; font-size: 1.1rem; text-decoration: none; }
.cta-tut:hover { background: #e3eeff; }
.hero .status + .hero-tut, .hero p[data-store] + .hero-tut { margin-top: 12px; }
/* 宣傳片的片名＝首屏大標題那一句：畫面上不重複，螢幕報讀照樣念得到 */
.hero-video figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
.hero .waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }
.status { display: inline-block; margin-top: 16px; padding: 10px 16px; border-radius: 10px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1rem; }
.status a { color: #fff; font-weight: 700; }
.cta { display: inline-block; margin-top: 16px; padding: 14px 30px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 900; font-size: 1.15rem; text-decoration: none; }
.cta:hover { background: #e3eeff; }
.cta-solid { background: var(--brand); color: #fff; }
.cta-solid:hover { background: var(--brand-dark); }
.cta-row { text-align: center; margin: 22px 0 0; }
.cta-band { background: var(--brand); color: #fff; text-align: center; }
section.cta-band h2 { color: #fff; }

section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
section h2 { font-size: 2rem; line-height: 1.3; margin: 0 0 20px; font-weight: 900; color: var(--brand); }
.lead { margin: -8px 0 22px; max-width: 820px; color: var(--muted); font-size: 1.15rem; }
.split { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.split > img { width: 200px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--soft); border-radius: 12px; padding-block: 14px; padding-inline: 62px 16px; position: relative; font-size: 1.1rem; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; display: grid; place-items: center; }

/* 功能卡：每張一張品牌插圖（2026-10-16 主公「我的圖案呢，我很喜歡有這些圖案，沒圖案好單調」；同一天上午我把「眼花繚亂」誤讀成圖太多、拿掉過，帳本 499）。
   12 張＝桌機 3 欄 × 4 列，不會有落單的最後一張 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.card img { display: block; width: 128px; height: 128px; margin: 0 auto 12px; }
.card h3 { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.35; color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.grid.features .card { text-align: center; }
/* 19 種功能（2026-10-16 20:51 錄影「19 個名詞配 19 個數字」）：每張左上角一個號碼；桌機 3 欄 × 6 列，第 19 張整列（不落單）；
   狀態圖是 4:3、插圖是 1:1，一律 object-fit: contain 放進 128×128 */
.grid.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcard { position: relative; scroll-margin-top: 16px; }
.fcard img { object-fit: contain; }
.fcard img.wide-art { width: 168px; height: 106px; margin: 11px auto 23px; }
.fnum { position: absolute; inset-inline-start: 14px; top: 12px; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 18px; background: var(--brand); color: #fff; font-weight: 900; font-size: 1.1rem; line-height: 36px; text-align: center; }
.fcard .fdemo { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; }
/* 要訂閱才有的功能：紅字小標籤（主公 10/21：「字要明顯，不要白灰」） */
.fcard .fpaid { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 10px; background: #fdecea; color: #b3261e; font-weight: 800; font-size: .85rem; line-height: 1.5; }
.fcard-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; align-items: center; text-align: start !important; padding-inline-start: 64px; }
.fcard-wide img { margin: 0; }
.grid.compact { margin-top: 16px; }
.grid.compact .card { background: var(--soft); border-color: transparent; }
.curve { display: block; width: 100%; max-width: 560px; height: 46px; margin: 0 auto; opacity: .35; }

.note { color: var(--muted); font-size: 1rem; }
.box { background: var(--soft); border-inline-start: 4px solid var(--brand); border-radius: 10px; padding: 14px 18px; margin: 14px 0; }

/* 作品影片區（片單在 showcase.json，空的就整區不出現）。2026-10-28 改版：教學片桌機兩欄（四部＝2×2，不落單）、宣傳片在影片區那一頁佔整排；
   每一張卡：影片 → 第二行字幕（影片正下面，不疊在畫面上）→ 片名 → 選單列（配音 13 語、字幕 13 語、16:9／9:16、片長） */
.reel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reel-wide { grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
.reel-item { position: relative; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.reel-item video { order: 1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.reel-item .vsub { order: 2; margin: 0; min-height: 3.2em; padding: 6px 14px; background: #0b1b2e; color: #fff; font-size: 1rem; line-height: 1.5; text-align: center; }
.reel-item .vsub[hidden] { display: none; }
.reel-item figcaption { order: 3; color: var(--text); font-weight: 700; font-size: 1.05rem; line-height: 1.5; padding: 12px 14px 2px; }
.reel-item .vbar { order: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 14px 14px; }
.vsel { display: inline-flex; align-items: center; gap: 6px; }
.vico { font-size: .9rem; font-weight: 800; color: var(--muted); }
.vsel select { font: inherit; font-size: .95rem; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); width: 9.5em; max-width: 100%; }
.vorient { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.vorient button { font: inherit; font-size: .9rem; font-weight: 700; padding: 4px 10px; border: 0; background: #fff; color: var(--brand); cursor: pointer; }
.vorient button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.vdur { margin-inline-start: auto; font-weight: 700; font-size: .95rem; color: var(--muted); }
/* 直式（9:16）：手機直拿時的宣傳片；高度最多佔畫面約四分之三，下面的選單與字幕照樣看得到 */
.reel-item.is-vertical video { aspect-ratio: 9 / 16; width: auto; max-width: 100%; max-height: 76vh; margin-inline: auto; }
/* 2026-11-03（13 語影片接力「4＋1」）：新片不燒字，兩行字幕由 site-video.js 疊在畫面底部——上面一行＝配音那一語、下面一行＝英文或客人選的語言；
   疊字框的位置、字級由腳本照影片框算（橫式約畫面寬 2.7%、直式約 5%），點擊穿過去給影片本身的控制列 */
.vov { position: absolute; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .2em; padding: 0 4% 7%; box-sizing: border-box; pointer-events: none; text-align: center; line-height: 1.3; }
.vov[hidden] { display: none; }
.vov span { max-width: 100%; padding: .08em .45em; border-radius: .25em; background: rgba(6, 10, 18, .74); color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.vov span:empty { display: none; }
.vov .vl2 { font-size: .86em; font-weight: 600; }
.is-vertical .vov { padding-bottom: 18%; }
/* 2026-11-03：教學影片分 7 組（開始使用、第一～四區、AI 大腦、其他功能），一組一個小標題；組名用擴充分頁上的原字，組裡照舊兩欄 */
.vgroups { display: grid; gap: 30px; }
.vfeature + .vgroups { margin-top: 24px; }
.vgh { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.25rem; line-height: 1.4; color: var(--text); }
.vgn { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 1.7em; height: 1.7em; border-radius: 999px; background: var(--brand); color: #fff; font-size: .85em; font-weight: 800; }
/* 首頁示範片（2026-10-12） */
.demo { margin: 0; background: #0e1726; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 40, 90, .18); }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0e1726; }
/* 影片區（2026-10-16 20:51 錄影）：示範片是第一部；有影片的類別 ≥ 2 個才出現分類鈕 */
.vfeature h3 { margin: 0 0 8px; font-size: 1.4rem; color: var(--text); }
.vfeature .lead { margin: 0 0 16px; }
.vfeature + .reel { margin-top: 24px; }
.vtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.vtabs button { font: inherit; font-size: 1rem; font-weight: 700; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--brand); cursor: pointer; }
.vtabs button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-cat][hidden] { display: none !important; }
.transcript { margin-top: 14px; max-width: 820px; }
.transcript summary { cursor: pointer; color: var(--brand); font-weight: 700; }
.transcript p { margin: 6px 0; color: var(--muted); }

/* 常見問題 */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
details p { color: var(--muted); margin: 10px 0 0; }

/* 介面語言（2026-10-06）：首頁 91 個語言名的膠囊；語言頁每種語言一張卡。字型不指定——各種文字由系統字型接手（Noto Sans TC 只有中文） */
.chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--text); text-decoration: none; font-size: 1rem; line-height: 1.5; }
.chips li a:hover { border-color: var(--brand); color: var(--brand); }
.langgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.langcard .more { display: inline; }
.langcard .more summary { display: inline; cursor: pointer; color: var(--brand); font-size: .95rem; margin-inline-start: 4px; }
.langcard .more[open] summary { display: block; margin: 2px 0; }
.langcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; scroll-margin-top: 16px; }
.langcard .endonym { display: block; font-size: 1.45rem; font-weight: 700; line-height: 1.5; }
.langcard .lname { display: block; color: var(--muted); font-size: .95rem; margin-bottom: 6px; }
.langcard .regions { display: block; font-size: 1rem; line-height: 1.6; margin-top: 4px; }
.langcard .label { color: var(--muted); font-size: .9rem; }
.doc .small { font-size: .9rem; color: var(--muted); }

/* 法遵頁 */
.doc { padding-top: 40px; padding-bottom: 56px; }
.doc-art { float: inline-end; width: 120px; margin-block: 0 8px; margin-inline: 16px 0; }
.doc h1 { font-weight: 900; font-size: 2.2rem; line-height: 1.25; margin: 0 0 6px; color: var(--brand); }
.doc .date { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.doc h2 { font-weight: 900; font-size: 1.45rem; margin: 32px 0 10px; color: var(--brand); }
.doc ul { color: var(--muted); }
.doc ul li b { color: var(--text); }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 1rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
th { background: var(--soft); font-size: .95rem; }

/* 關於我們（2026-10-16 20:51 錄影「這故事要多出一頁，就是關於我們……如果能大就大」）：大標誌、大插圖、大字 */
.about-hero { background: var(--soft); border-bottom: 1px solid var(--line); text-align: center; }
.about-hero .wrap { padding-top: 48px; padding-bottom: 44px; }
.about-mark { width: 232px; height: 180px; }
.about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.2; margin: 16px 0 8px; font-weight: 900; color: var(--brand); }
.about-tag { font-size: 1.45rem; font-weight: 700; color: var(--ink); margin: 0; }
/* 2026-10-24 16:12 錄影 6:33–7:25「排版非常讓人家看得不舒服……要像小說一樣……只是一串死的文字……這邊這麼大空白要幹嘛……一段一段一段，讓人家像讀小說一樣」：
   以前插圖佔左邊 240px 一欄、一句一行（右邊整片空白）→ 現在一章一欄置中：插圖在章名上面、正文 720px 閱讀寬度、句子合成段落（原句一字不改）、
   行高 1.95、段距一行；中文（繁中、簡中、粵語）段首空兩格、左右對齊，像書本 */
.story { display: block; max-width: 720px; margin-inline: auto; }
.story-art { display: block; width: 168px; height: 168px; object-fit: contain; margin: 0 auto 6px; }
.story-text { max-width: 720px; margin-inline: auto; }
.story-text h2 { text-align: center; margin: 0 0 22px; }
/* 2026-10-24 18:35 錄影 3:07–4:27「字能越大越好，有點小」「打在心坎裡的字都可以用粗體字，甚至大一點點……人家是 1，我是 1.2……但整體還是字要大一點」：
   正文 1.18→1.34rem、引言與收尾跟著放大；重點句（b，不含 translate="no" 的人名、產品名）粗體＋1.2 倍 */
.story-text p { font-size: 1.34rem; line-height: 1.95; margin: 0 0 1.1em; }
.story-text b:not([translate]) { font-size: 1.2em; }
:lang(zh) .story-text p:not(.pull), :lang(yue) .story-text p:not(.pull) { text-indent: 2em; text-align: justify; }
.story-text .pull { font-size: 1.6rem; line-height: 1.65; font-weight: 900; color: var(--brand); text-align: center; border-block: 2px solid var(--brand); padding: 16px 6px; margin: 30px 0; }
.closing { background: var(--brand); color: #fff; text-align: center; }
.closing p { font-size: 1.45rem; line-height: 1.8; margin: 0 0 16px; }
.closing .closing-line { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; margin: 26px 0 18px; }
.closing .signature { font-size: 1.1rem; color: #e3eeff; }

/* 頁尾：每一頁都有商標聲明（2026-09-19 裁定） */
footer { border-top: 1px solid var(--line); background: var(--soft); padding: 22px 0 40px; color: var(--muted); font-size: .95rem; }
footer p { margin: 4px 0; }

@media (max-width: 900px) {
  .grid.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 平板以下：首屏本來就是上下排（2026-10-30 起桌面也是），字幕條回到一般大小 */
  .hero-video .reel-item .vsub { font-size: 1.05rem; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .langmenu ul { position: fixed; inset-inline: 16px; top: 72px; width: auto; max-height: calc(100vh - 96px); }
  .wordmark { font-size: 1.45rem; }
  .brand img { width: 124px; height: 96px; }
  .story-art { width: 132px; height: 132px; }
  .story-text p { font-size: 1.22rem; line-height: 1.9; }
  .about-mark { width: 174px; height: 135px; }
  .fcard-wide { grid-template-columns: 96px minmax(0, 1fr); padding-inline-start: 22px; padding-top: 56px; }
  .fcard-wide img { width: 96px; height: 96px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 88px; }
  .reel { grid-template-columns: minmax(0, 1fr); }
  section h2 { font-size: 1.7rem; }
  .split { grid-template-columns: 1fr; }
  .split > img { width: 140px; }
}
@media (max-width: 560px) {
  .grid.features { grid-template-columns: 1fr; }
}
