/* 自家子集化的 Noto Sans TC（可變字重 400–700，由 site/tools/subset-font.py 產生），
   先 preload 再 swap；後備字型套上 Noto 的垂直度量，換字時不跳版。 */
@font-face {
  font-family: 'Noto Sans TC';
  src: url('fonts/noto-sans-tc-subset.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans TC Fallback';
  src: local('PingFang TC Regular'), local('PingFangTC-Regular'), local('Microsoft JhengHei'), local('MicrosoftJhengHeiRegular'), local('Heiti TC');
  ascent-override: 100%;
  descent-override: 20%;
  line-gap-override: 0%;
}

/* Flow 官網共用樣式。
   方向：「櫃檯序列」— 每段一個號碼牌（01–07），窄欄靠左，確認＝朱印。
   顏色全部用變數；深色模式依 prefers-color-scheme。字型只用 Noto Sans TC。 */

:root {
  color-scheme: light dark;
  --paper: rgb(250, 249, 246);
  --paper-2: rgb(243, 241, 236);
  --paper-3: rgb(237, 234, 227);
  --ink: rgb(23, 23, 21);
  --ink-2: rgb(78, 75, 66);
  --ink-3: rgb(116, 111, 95);
  --line: rgba(23, 23, 21, 0.12);
  --line-2: rgba(23, 23, 21, 0.06);
  --line-input: rgba(23, 23, 21, 0.48);
  --vermilion: rgb(194, 64, 42);
  --vermilion-ink: rgb(160, 48, 30);
  --vermilion-hover: rgb(160, 48, 30);
  --vermilion-tint: rgb(246, 226, 221);
  --moss: rgb(46, 110, 72);
  --bg: var(--paper);
  --bg-card: rgb(255, 255, 255);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --focus: rgb(58, 92, 128);
  --radius-sm: 2px;
  --radius: 4px;
  --radius-card: 8px;
  --shadow-card: 0 1px 2px rgba(23, 23, 21, 0.06), 0 8px 24px rgba(23, 23, 21, 0.08);
  --font: 'Noto Sans TC', 'Noto Sans TC Fallback', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --col: 1120px;
  --gutter: 24px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: rgb(23, 23, 21);
    --bg-card: rgb(34, 34, 31);
    --paper-2: rgb(30, 30, 28);
    --paper-3: rgb(40, 40, 37);
    --fg: var(--paper);
    --fg-2: rgb(196, 192, 182);
    --fg-3: rgb(142, 136, 122);
    --line: rgba(250, 249, 246, 0.14);
    --line-2: rgba(250, 249, 246, 0.07);
    --line-input: rgba(250, 249, 246, 0.42);
    --vermilion-tint: rgb(58, 26, 22);
    --vermilion-ink: rgb(224, 112, 90);
    --vermilion-hover: rgb(176, 58, 38);
    --moss: rgb(96, 180, 120);
    --focus: rgb(140, 176, 214);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: currentColor; } }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.25; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.4; }
.muted { color: var(--fg-2); }
.vermilion { color: var(--vermilion-ink); }
.skip { position: absolute; left: 16px; top: -48px; padding: 8px 12px; background: var(--vermilion); color: var(--paper); border-radius: var(--radius); z-index: 100; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- 版面 ---- */
.wrap { width: min(100% - 2 * var(--gutter), var(--col)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line-2); }
.section > .wrap > header { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section > .wrap > header p { margin-top: 12px; font-size: 19px; color: var(--fg-2); }

/* 號碼牌：每段的序號 */
.ticket {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--fg-3);
}
.ticket::before { content: ''; width: 28px; height: 1px; background: var(--fg-3); }
.ticket b { font-weight: 700; color: var(--vermilion-ink); }

/* ---- 按鈕與連結 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--vermilion); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--vermilion-hover); } }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--fg-3); } }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .link:hover { border-color: currentColor; } }
.link::after { content: ' →' / ''; }

/* ---- 選單 ---- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
}
/* 毛玻璃只給桌機、且使用者沒要求降低透明度：它是整頁唯一的逐格捲動成本 */
@media (min-width: 861px) and (prefers-reduced-transparency: no-preference) {
  .header { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.header .wrap { display: flex; align-items: center; height: 100%; gap: 32px; }
.brand { display: inline-flex; align-items: center; color: var(--fg); text-decoration: none; }
.brand svg { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; flex: 1; /* 中和 popover 的 UA 樣式，桌機版它只是普通的列 */ position: static; inset: auto; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--fg-2); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--fg); } }
.nav .nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav .btn { min-height: 40px; padding-inline: 16px; font-size: 15px; }
.nav .btn-primary { color: var(--paper); }
.nav-login { font-size: 15px; color: var(--fg-3); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); }
.menu-btn svg { margin: auto; }

@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; width: auto; margin: 0; padding: 16px var(--gutter) 24px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
  }
  .nav:not(.is-open) { display: none; }
  .nav:popover-open { display: flex; }
  .nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; }
  .nav .nav-right { margin: 16px 0 0; flex-direction: column; align-items: stretch; gap: 12px; }
  .nav .nav-right a { border: 0; padding: 0; }
  .nav .btn { min-height: 48px; }
}

/* ---- 01 主視覺（墨色帶）---- */
.hero { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 112px) clamp(48px, 7vw, 96px); border-top: 0; }
.hero .wrap { text-align: center; }
.hero .ticket { color: rgba(250, 249, 246, 0.55); justify-content: center; }
.hero .ticket b { color: var(--paper); }
.hero .ticket::before { background: rgba(250, 249, 246, 0.4); }
.hero h1 { max-width: 14em; margin-inline: auto; }
.hero h1 em { font-style: normal; color: rgb(224, 112, 90); }
.hero .lede { max-width: 24em; margin: 20px auto 0; font-size: clamp(17px, 2vw, 20px); color: rgba(250, 249, 246, 0.72); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero .actions .link { color: var(--paper); border-color: rgba(250, 249, 246, 0.35); }
.hero .btn-primary:focus-visible { outline-color: var(--paper); }
.hero .link:focus-visible { outline-color: var(--paper); }
.film .pause:focus-visible { outline-color: var(--paper); }

.film {
  position: relative; margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1040px;
  aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden;
  background: var(--ink); border: 1px solid rgba(250, 249, 246, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.film video { width: 100%; height: 100%; object-fit: cover; }
.film .pause {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(250, 249, 246, 0.3); background: rgba(23, 23, 21, 0.7); color: var(--paper); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .film .pause:hover { background: rgba(23, 23, 21, 0.9); } }
.film .pause .ic-play { display: none; }
.film[data-paused] .pause .ic-pause { display: none; }
.film[data-paused] .pause .ic-play { display: block; }

/* ---- 02–04 核心功能：左右交錯 ---- */
.feature { padding-block: clamp(56px, 8vw, 96px); }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature.flip .wrap > .copy { order: 2; }
.feature h2 { max-width: none; }
.feature p { margin-top: 14px; font-size: 18px; color: var(--fg-2); max-width: 24em; }
.feature .link { display: inline-block; margin-top: 22px; }
.shot {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--bg-card); box-shadow: var(--shadow-card); overflow: hidden; cursor: zoom-in;
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .shot:hover { border-color: var(--fg-3); } .menu-btn:hover, .lightbox .close:hover { border-color: var(--fg-3); } }
@media (max-width: 860px) {
  .feature .wrap { grid-template-columns: 1fr; }
  .feature.flip .wrap > .copy { order: 0; }
}

/* 燈箱 */
.lightbox { width: min(100% - 32px, 1400px); max-width: none; padding: 0; border: 0; border-radius: var(--radius-card); background: var(--bg-card); color: var(--fg); box-shadow: var(--shadow-card); }
.lightbox::backdrop { background: rgba(23, 23, 21, 0.72); }
.lightbox img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.lightbox { overscroll-behavior: contain; }
.lightbox .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--fg-2); }
.lightbox .close { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer; }

/* ---- 05 部門應用：頁籤 ---- */
.tabs [role="tablist"] { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs [role="tab"] {
  min-height: 48px; padding: 0 18px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--fg-2); font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .tabs [role="tab"]:hover { color: var(--fg); } }
.tabs [role="tab"]:focus-visible { outline-offset: -4px; }
.tabs [role="tab"][aria-selected="true"] { color: var(--fg); border-bottom-color: var(--vermilion); }
.tabs [role="tabpanel"] { padding-top: 32px; }
.tabs [role="tabpanel"][hidden] { display: none; }
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.scene { display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg-card); }
.scene .n { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: 10px; }
.scene p { font-size: 17px; margin-bottom: 16px; }
.plug { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 3px 10px; align-self: flex-start; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--fg-2); }
.plug::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--vermilion); }
@media (max-width: 860px) { .scenes { grid-template-columns: 1fr; } }

/* ---- 06 企業治理：四欄 ---- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--bg-card); list-style: none; margin: 0; padding: 0; }
.pillar { padding: 28px 24px 26px; border-right: 1px solid var(--line-2); }
.pillar:last-child { border-right: 0; }
.pillar .seal { width: 28px; height: 28px; border-radius: 6px; background: var(--vermilion); display: grid; place-items: center; margin-bottom: 18px; }
.pillar .seal svg { width: 16px; height: 16px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 15.5px; color: var(--fg-2); }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pillar:nth-child(2n) { border-right: 0; } .pillar:nth-child(-n + 2) { border-bottom: 1px solid var(--line-2); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--line-2); } .pillar:last-child { border-bottom: 0; } }

/* ---- 07 結尾 CTA ---- */
.cta { text-align: center; }
.cta .ticket { justify-content: center; }
.cta h2 { max-width: 14em; margin-inline: auto; }
.cta p { margin: 16px auto 28px; font-size: 18px; color: var(--fg-2); max-width: 26em; }

/* ---- 頁尾 ---- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 40px; font-size: 15px; color: var(--fg-2); }
.footer .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer h2 { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--fg); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--fg); text-decoration: underline; } }
.footer .brand { margin-bottom: 14px; }
.footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--fg-3); }
@media (max-width: 960px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer .cols { grid-template-columns: 1fr; } }

/* ---- 細節打磨（emil-design-engineering / make-interfaces-feel-better / web-animation-design）---- */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* 互動狀態只過渡指定屬性；按下時微縮 */
.btn, .link, .nav a, .tabs [role="tab"], .shot, .film .pause, .lightbox .close, .menu-btn {
  transition-property: background-color, border-color, color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.btn:active, .film .pause:active, .menu-btn:active, .lightbox .close:active { scale: 0.97; }
.shot:active { scale: 0.99; }

/* 圖片外框：低不透明度的 1px 線，深淺模式都看得到邊 */
.shot img, .lightbox img { outline: 1px solid rgba(23, 23, 21, 0.06); outline-offset: -1px; }
@media (prefers-color-scheme: dark) { .shot img, .lightbox img { outline-color: rgba(250, 249, 246, 0.08); } }

/* 暫停鈕的播放三角形做光學置中 */
.film .pause .ic-play { translate: 1px 0; }

/* 燈箱與手機選單的進出：200ms ease-out，退場略快；從 0.97 起而不是從 0 */
.lightbox, .lightbox::backdrop { transition: opacity 160ms ease-out, scale 160ms ease-out, overlay 160ms allow-discrete, display 160ms allow-discrete; }
.lightbox { opacity: 0; scale: 0.97; }
.lightbox::backdrop { opacity: 0; }
.lightbox[open] { opacity: 1; scale: 1; transition-duration: 200ms; }
.lightbox[open]::backdrop { opacity: 1; transition-duration: 200ms; }
@starting-style { .lightbox[open] { opacity: 0; scale: 0.97; } .lightbox[open]::backdrop { opacity: 0; } }

@media (max-width: 860px) {
  .nav { transition: opacity 160ms ease-out, translate 160ms ease-out, overlay 160ms allow-discrete, display 160ms allow-discrete; opacity: 0; translate: 0 -8px; }
  .nav:popover-open { opacity: 1; translate: 0 0; transition-duration: 200ms; }
  .nav.is-open { opacity: 1; translate: 0 0; transition-duration: 200ms; }
  @starting-style { .nav:popover-open { opacity: 0; translate: 0 -8px; } .nav.is-open { opacity: 0; translate: 0 -8px; } }
}

/* 減少動態：所有過渡關掉（影片的自動播放由 site.js 處理） */
@media (prefers-reduced-motion: reduce) {
  .btn, .link, .nav a, .tabs [role="tab"], .shot, .film .pause, .lightbox .close, .menu-btn, .lightbox, .lightbox::backdrop, .nav { transition: none; }
  .btn:active, .film .pause:active, .menu-btn:active, .lightbox .close:active, .shot:active { scale: 1; }
}

/* ---- 子頁共用：產品頁主視覺、影片播放器、步驟、規格、表單、價格表 ---- */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); border-top: 0; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 48px); }
.page-hero .lede { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-2); max-width: 24em; }
.page-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.page-hero.solo .wrap { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; background: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player-note { margin-top: 10px; font-size: 14px; color: var(--fg-3); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.step .n { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--fg-3); padding-top: 6px; }
.step p { margin-top: 6px; color: var(--fg-2); max-width: 34em; }
.step .plug { margin-top: 12px; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts > div { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg-card); }
.facts dt { font-weight: 700; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--fg-2); font-size: 16px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.todo { display: inline-block; padding: 2px 8px; border-radius: var(--radius); background: var(--vermilion-tint); color: var(--vermilion-ink); font-size: 14px; font-weight: 600; }
.notice { padding: 16px 20px; border: 1px dashed var(--line); border-radius: var(--radius-card); color: var(--fg-2); font-size: 15px; }

.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--fg);
  background: var(--bg-card); border: 1px solid var(--line-input); border-radius: var(--radius);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.field .hint { font-size: 14px; color: var(--fg-3); }
.field .error { font-size: 14px; color: var(--vermilion-ink); font-weight: 600; }
.field .error:empty { display: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--vermilion); }
.form .status { font-size: 15px; color: var(--fg-2); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.plan { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg-card); }
.plan h3 { font-size: 22px; }
.plan .price { margin: 10px 0 4px; font-size: 32px; font-weight: 700; }
.plan .for { color: var(--fg-2); font-size: 15px; min-height: 48px; }
.plan ul { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; }
.plan li::before { content: '✓' / ''; color: var(--moss); margin-right: 8px; font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan.featured { border-color: var(--vermilion); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.compare th { font-weight: 700; }
.compare thead th { color: var(--fg-2); font-size: 14px; letter-spacing: 0.04em; border-bottom-color: var(--line); }
.compare-wrap { overflow-x: auto; }

.prose { max-width: 36em; }
.prose h2 { margin-top: clamp(40px, 6vw, 64px); font-size: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 12px; color: var(--fg-2); }
.prose ul { padding-left: 1.2em; }

/* ---- 首頁入口卡：三條路 ---- */
.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.entry { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg-card); color: inherit; text-decoration: none; }
.entry .q { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--fg-3); }
.entry h3 { font-size: 22px; }
.entry p { color: var(--fg-2); font-size: 16px; }
.entry .go { margin-top: auto; padding-top: 10px; font-weight: 600; }
.entry .go::after { content: ' →' / ''; }
@media (hover: hover) and (pointer: fine) { .entry:hover { border-color: var(--fg-3); } }
.entry:focus-visible { outline-offset: 2px; }
@media (max-width: 860px) { .entries { grid-template-columns: 1fr; } }
.product-kicker { display: inline-flex; gap: 8px; align-items: baseline; }
.product-kicker small { font-size: 14px; color: var(--fg-3); font-weight: 500; }

/* ---- Slack 式的主題區塊：眉標＋大標＋副標＋真實畫面＋三張小卡 ---- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; list-style: none; padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(250, 249, 246, 0.22); color: var(--paper); font-size: 15px; font-weight: 500; text-decoration: none; }
.chips a::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--vermilion); }
@media (hover: hover) and (pointer: fine) { .chips a:hover { border-color: rgba(250, 249, 246, 0.6); } }
.chips a:focus-visible { outline-color: var(--paper); }

.theme .lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: 24px; }
.theme .lead h2 { max-width: none; }
.theme .lead p { margin-top: 14px; font-size: 18px; color: var(--fg-2); max-width: 24em; }
.theme .lead .link { display: inline-block; margin-top: 22px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg-card); }
.card h3 { font-size: 18px; }
.card p { font-size: 16px; color: var(--fg-2); }
.card .link { margin-top: auto; padding-top: 10px; font-size: 15px; }
@media (max-width: 960px) { .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .theme .lead { grid-template-columns: 1fr; } .cards, .cards.four { grid-template-columns: 1fr; } }

.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.film-card { display: block; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--bg-card); }
.film-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.film-card .meta { padding: 16px 18px 18px; }
.film-card h3 { font-size: 18px; }
.film-card p { margin-top: 4px; font-size: 15px; color: var(--fg-2); }
.film-card .dur { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--fg-3); }
@media (hover: hover) and (pointer: fine) { .film-card:hover { border-color: var(--fg-3); } }
@media (max-width: 860px) { .films { grid-template-columns: 1fr; } }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; }

.feature .wrap.cards-wrap { display: block; margin-top: 24px; }

/* ---- 版面節奏（參考 Slack）：區塊交替底色，主題區的畫面放在有色舞台上 ---- */
.section.alt { background: var(--paper-2); }
.theme .lead { align-items: center; }
.theme .lead .stage, .feature .stage, .page-hero .stage { width: 100%; }
.section > .wrap > header h2 { max-width: 16em; }

/* 中文排版：標題行距與字距、段落每行 24–26 個字、卡片內文統一 16px/1.7 */
h1, h2 { letter-spacing: 0.02em; word-break: keep-all; overflow-wrap: anywhere; }
h3 { letter-spacing: 0.01em; }
p, li, dd { word-break: normal; overflow-wrap: anywhere; }
.card p, .entry p, .scene p, .pillar p, .facts dd { line-height: 1.7; }
.ticket { margin-bottom: 16px; }
.theme .lead p, .feature p, .hero .lede, .page-hero .lede { text-wrap: pretty; }
