/* ==========================================================================
   findwayact.com — Dark Tech
   規格：design-spec.md。取代原有的 warm/cream（BeneTutor）設計系統。
   與 BeneTutor 分家：兩個站各自維護，改一邊不會同步另一邊。
   層次靠 --surface-* 的明度差 ＋ --line 細線做，全站不用陰影。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* 底層 —— 由深到淺四階 */
  --bg:          #0B0C0E;
  --surface-1:   #121417;
  --surface-2:   #1A1D21;
  --surface-3:   #23272C;

  /* 線 */
  --line:        rgb(255 255 255 / .07);
  --line-strong: rgb(255 255 255 / .13);

  /* 文字 */
  --text:        #F2F3F5;   /* 17.6:1 */
  --text-muted:  #A0A4AB;   /*  7.8:1 */
  --text-faint:  #6B7079;   /*  3.9:1 —— 只用於裝飾，不可用於正文或標籤 */

  /* 品牌 */
  --accent:      #FF7A45;   /*  7.6:1 on --bg */
  --accent-dim:  #C2542C;
  --accent-glow: rgb(255 122 69 / .16);

  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-pill: 999px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --maxw: 1100px;

  /* 字體：自己 host 的子集化 woff2（tools/subset-font.py 產生）。
     改文案之後要重跑腳本，否則新字會變豆腐格。 */
  --font:      "Noto Sans TC Subset", "PingFang TC", "PingFang HK", "Hiragino Sans TC",
               "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en:   "Space Grotesk Subset", "Avenir Next", "Segoe UI Variable Display",
               system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", Menlo, monospace;
}

/* 可變字型，一個檔覆蓋 400–700。比三隻靜態（合計 255KB）細一半。 */
@font-face {
  font-family: "Noto Sans TC Subset";
  src: url("../fonts/tc.woff2?v=20260923") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk Subset";
  src: url("../fonts/en.woff2?v=20260923") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* 等寬字標籤：小標、編號、①②③、tag。全套裡最平價、回報最高的一招。
   顏色用 --text-muted 而唔係 spec §3 寫嘅 --text-faint，因為 §6 寫明標籤唔可以用 faint（3.9:1）。 */
.eyebrow, .tag, .t-tag, .rate thead th, .pick thead th {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-muted);
  line-height: 1.8;               /* 中文比西文需要更多行距 */
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 服務對象頁退半步：底色提到 surface-1，線加粗到 line-strong */
body.lift { background: var(--surface-1); }
body.lift { --line: rgb(255 255 255 / .13); }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }

/* 標題收緊，正文放鬆 */
h1, h2, h3, h4 { color: var(--text); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
h1 { line-height: 1.15; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

.en { font-family: var(--font-en); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--surface-2); color: var(--text); padding: 12px 20px; z-index: 200; border: 1px solid var(--line-strong); border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 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; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }

/* --------------------------------------------------------------------------
   3. Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgb(11 12 14 / .78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }

.logo { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--font-en); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.logo img { width: 28px; height: 28px; border-radius: var(--r-md); flex: none; align-self: center; }
.logo-dot { color: var(--accent); }
.logo em { font-style: normal; color: var(--accent); margin-left: .3em; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a { padding: 8px 16px; font-size: 14.5px; font-weight: 500; color: var(--text-muted); border-radius: var(--r-sm); transition: color .2s, background .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); background: var(--accent-glow); }
.nav-menu .nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: var(--bg); padding: 9px 20px;
  border-radius: var(--r-pill); font-weight: 600; transition: background .2s;
}
.nav-menu .nav-cta:hover { background: var(--accent-dim); color: var(--bg); }
.nav-cta svg { width: 20px; height: 20px; flex: none; }

.nav-mobile-btn { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; }
.nav-mobile-btn span { display: block; width: 22px; height: 2px; background: var(--text); position: absolute; left: 9px; border-radius: 2px; transition: all .3s var(--ease); }
.nav-mobile-btn span:nth-child(1) { top: 12px; }
.nav-mobile-btn span:nth-child(2) { top: 19px; }
.nav-mobile-btn span:nth-child(3) { top: 26px; }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--surface-1); border-bottom: 1px solid var(--line-strong);
  padding: 16px 24px; z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--text-muted); border-radius: var(--r-sm); transition: color .2s, background .2s; }
.mobile-menu a:hover { color: var(--accent); background: var(--accent-glow); }
.mobile-menu .nav-cta-m { display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; margin-top: 8px; background: var(--accent); color: var(--bg); padding: 13px; border-radius: var(--r-md); font-weight: 600; }
.mobile-menu .nav-cta-m svg { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------------------------
   4. 按鈕
   橙底用深色字：#FF7A45 上放白字只有 2.6:1，放 --bg 有 9.6:1
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .98rem; font-weight: 600; padding: .95rem 1.9rem;
  background: var(--accent); color: var(--bg); border: none;
  border-radius: var(--r-pill); transition: background .15s;
}
.btn-primary:hover { background: var(--accent-dim); color: var(--bg); }
.btn-primary svg { width: 23px; height: 23px; flex: none; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .98rem; font-weight: 600; padding: .9rem 1.8rem;
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--r-pill);
  transition: background .15s;
}
.btn-outline:hover { background: var(--accent-glow); color: var(--accent); }

.btn-text { font-size: .98rem; font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: .35rem; }
.btn-text:hover { color: var(--accent); }

.cta-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* --------------------------------------------------------------------------
   5. 區段骨架 —— 用線分隔，不用背景色塊硬切
   -------------------------------------------------------------------------- */
main { flex: 1; }
.section { padding: 5rem 0; border-top: 1px solid var(--line); }
.section--soft { background: var(--surface-1); }
.section--dark { background: var(--surface-1); color: var(--text-muted); }
body.lift .section--soft, body.lift .section--dark { background: var(--surface-2); }

.eyebrow { display: block; text-transform: uppercase; margin-bottom: 1.1rem; }
.section--dark .eyebrow { color: var(--accent); }

.sec-head { margin-bottom: 3rem; max-width: 760px; }
.sec-head h1 { font-size: 2rem; }
.sec-head h2 { font-size: 2rem; }
.sec-head p { font-size: 1.02rem; color: var(--text-muted); margin-top: .8rem; line-height: 1.8; }

.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; color: var(--text-muted); line-height: 1.8; }
.prose p + p { margin-top: 1.1rem; }
.prose .hl { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { padding: 5.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; color: var(--text-muted); background: var(--surface-1); border: 1px solid var(--line); padding: .4rem 1rem; border-radius: var(--r-pill); margin-bottom: 1.6rem; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 2.9rem; margin-bottom: 1.5rem; }
.hero p.lead { font-size: 1.12rem; color: var(--text-muted); line-height: 1.8; max-width: 500px; }
.hero p.lead + p.lead { margin-top: 1.1rem; }

/* 全站唯一一處光暈（只放首頁 hero） */
.hero--glow { position: relative; overflow: hidden; }
.hero--glow::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: -18rem; left: 50%; width: 46rem; height: 34rem; transform: translateX(-58%);
  background: radial-gradient(closest-side, var(--accent) 0%, transparent 70%);
  filter: blur(80px); opacity: .25;
}

/* 右欄卡 */
.ways-card { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.ways-card .wc-goal { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .5rem; }
.ways-card .wc-q { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 1.1rem; line-height: 1.35; }
.ways-card .wc-paths { display: flex; flex-direction: column; gap: .7rem; }
.ways-card .wc-path { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--text); line-height: 1.7; }
.ways-card .wc-path .pic { flex-shrink: 0; width: 1.9rem; height: 1.9rem; border-radius: var(--r-sm); background: var(--accent-glow); display: grid; place-items: center; }
.ways-card .wc-path .pic svg { width: 1.15rem; height: 1.15rem; }
.ways-card .wc-foot { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-muted); line-height: 1.8; }
.ways-card .wc-foot b { color: var(--text); font-weight: 700; }

/* --------------------------------------------------------------------------
   7. 卡片
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.card { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.7rem; }
.section--soft .card, .section--dark .card { background: var(--surface-2); }
.card .ic { width: 3rem; height: 3rem; border-radius: var(--r-md); background: var(--accent-glow); display: grid; place-items: center; margin-bottom: 1.2rem; }
.card .ic svg { width: 1.6rem; height: 1.6rem; }
.card h2, .card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--text-muted); line-height: 1.8; }
.card .more { display: inline-block; margin-top: 1.1rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--accent); }

a.card { display: block; transition: background .15s, border-color .15s; }
a.card:hover { background: var(--surface-2); border-color: var(--line-strong); }

.tag { display: inline-block; text-transform: uppercase; color: var(--accent); background: var(--accent-glow); padding: .2rem .6rem; border-radius: var(--r-sm); }

/* surface-1 區段內再深一層的卡 */
.d-card { display: block; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; transition: background .15s, border-color .15s; }
a.d-card:hover { background: var(--surface-3); border-color: var(--line-strong); }
.d-card .ic { width: 2.6rem; height: 2.6rem; border-radius: var(--r-md); background: var(--accent-glow); display: grid; place-items: center; margin-bottom: 1rem; }
.d-card .ic svg { width: 1.4rem; height: 1.4rem; }
.d-card h3, .d-card h4 { font-size: 1.08rem; line-height: 1.35; margin-bottom: .6rem; color: var(--text); }
.d-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.8; }
.d-card .t-tag { display: inline-block; text-transform: uppercase; color: var(--accent); margin-top: .9rem; }
.dark-foot { margin-top: 2.4rem; font-size: 1.02rem; color: var(--text-muted); line-height: 1.8; max-width: 760px; }
.dark-foot b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   8. 收費 —— 表格靠線，不靠卡
   -------------------------------------------------------------------------- */
.rate-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: .5rem 1.7rem; max-width: 560px; }
.rate { width: 100%; border-collapse: collapse; text-align: left; }
.rate th, .rate td { padding: 1.05rem .25rem; border-bottom: 1px solid var(--line); }
.rate thead th { text-transform: uppercase; padding-bottom: .7rem; }
.rate tbody tr:last-child th, .rate tbody tr:last-child td { border-bottom: 0; }
.rate tbody th { font-size: 1rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.rate .price { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.rate .per { font-family: var(--font-mono); color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .92rem; }
.rate-note { font-size: .88rem; color: var(--text-muted); margin-top: .9rem; }

/* 內文裡的連結：全域 a{color:inherit} 會令佢隱形，喺正文區域要顯出嚟 */
.prose p a, .rate-note a, .case p a, .ab-item p a, .dark-foot a, .join p a {
  color: var(--accent); text-underline-offset: .2em; }
.prose p a:hover, .rate-note a:hover, .case p a:hover, .ab-item p a:hover,
.dark-foot a:hover, .join p a:hover { text-decoration: underline; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem; }
.plan { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.7rem; }
.plan--mid { border-color: var(--accent); }
.plan h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.plan p { font-size: .95rem; color: var(--text-muted); line-height: 1.8; }
.plan .amount { display: block; margin-top: 1.3rem; font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.bounds { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.5rem; font-size: .95rem; line-height: 1.8; max-width: 760px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.4rem; counter-reset: step; }
.step { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; }
.step h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.1rem; }
.step h3::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 2rem; height: 2rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-glow); color: var(--accent);
  font-family: var(--font-mono); font-size: .85rem; font-weight: 700; letter-spacing: 0;
}
.step p { margin-top: .7rem; font-size: .95rem; color: var(--text-muted); line-height: 1.8; }

/* --------------------------------------------------------------------------
   9. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 760px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: .8rem; transition: border-color .15s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-size: 1rem; font-weight: 600; color: var(--text); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq .q { flex: 1; }
/* 注意：.faq .mark 係開關圖示，同 hero／about 的螢光筆 .mark 無關 */
.faq .mark { position: relative; flex: none; width: 1.1rem; height: 1.1rem; background: none; }
.faq .mark::before, .faq .mark::after { content: ''; position: absolute; background: var(--accent); border-radius: 2px; }
.faq .mark::before { inset: 45% 0; }
.faq .mark::after { inset: 0 45%; transition: transform .15s var(--ease); }
.faq details[open] .mark::after { transform: scaleY(0); }
.faq .a { padding: 0 1.4rem 1.3rem; font-size: .95rem; color: var(--text-muted); line-height: 1.8; }

/* --------------------------------------------------------------------------
   10. 結尾 CTA
   -------------------------------------------------------------------------- */
.join { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.6rem 2.2rem; }
.join h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.join p { font-size: .98rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.6rem; max-width: 620px; }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--text-muted); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo { color: var(--text); font-size: 1.25rem; }
.footer-brand .logo-dot, .footer-brand .logo em { color: var(--accent); }

.foot-points { margin-top: 1.3rem; }
.foot-points li { font-size: 14px; line-height: 1.95; color: var(--text-muted); }
.foot-svc-label { margin-top: 1.5rem; font-size: 14px; font-weight: 600; color: var(--text); }
.foot-svc-label + .foot-points { margin-top: .5rem; }
.foot-sign { margin-top: 1.6rem; font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }

.foot-nav li { margin-bottom: 12px; }
.foot-nav a { font-size: 14px; transition: color .2s; }
.foot-nav a:hover { color: var(--accent); }

.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-muted); }
.footer-follow { display: flex; align-items: center; gap: 12px; }
.footer-follow span { font-size: 13px; color: var(--text-muted); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--surface-2);
  display: grid; place-items: center; color: var(--text-muted); transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--accent); color: var(--bg); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

/* --------------------------------------------------------------------------
   12. 響應式
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 840px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .sec-head { margin-bottom: 2rem; }
  .sec-head h1, .sec-head h2 { font-size: 1.6rem; }
  .hero--glow::before { width: 30rem; height: 22rem; top: -12rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-menu { display: none; }
  .nav-mobile-btn { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .join { padding: 2rem 1.5rem; }
}
@media (max-width: 560px) {
  /* 收費表：nowrap 本來為短標籤（單堂／4 堂套餐）而設，
     長標籤（專案試做加分析報告）會撐爆容器，窄螢幕改為可換行 */
  .rate tbody th, .rate .per { white-space: normal; }
  .rate th, .rate td { padding: .9rem .2rem; }
  .rate .per { font-size: .84rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.95rem; }
}

/* --------------------------------------------------------------------------
   13. 動態 —— 純 CSS，零 JS，全部當 progressive enhancement
   -------------------------------------------------------------------------- */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: fade-up linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* 圖示顏色（放喺 .ic / .pic 底色上） */
.card .ic svg, .d-card .ic svg, .ways-card .wc-path .pic svg, .step h3 svg { color: var(--accent); }

/* --------------------------------------------------------------------------
   14. About 頁（版面結構參考 benetutor.com/about.php，視覺換成 dark tech）
   820px 窄欄、全區靠左；三件事用 1-2-3 直排
   -------------------------------------------------------------------------- */
.about-inner { max-width: 820px; margin: 0 auto; }

.about-hero { padding: 5.5rem 0 3.5rem; }
.about-hero h1 { font-size: 2.8rem; margin-bottom: 1.4rem; }
.about-hero p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; max-width: 600px; }
.about-hero p + p { margin-top: 1.1rem; }

.sec-title { font-size: 2rem; margin-bottom: 1.3rem; }
.sec-lead { font-size: 1.08rem; color: var(--text-muted); line-height: 1.8; }
.sec-lead + .sec-lead { margin-top: 1.2rem; }

/* 深色底的螢光筆：spec §6 指定的寫法 */
.about-inner p.about-key { margin-top: 1.5rem; font-size: 1.22rem; font-weight: 700; color: var(--text); line-height: 1.6; }
.about-inner .about-key .mark,
.ab-item .mark,
.hero h1 .mark {
  color: var(--text);
  background: linear-gradient(transparent 60%, var(--accent-glow) 60%);
}

/* emoji ＋ 標題 ＋ 說明的段落 */
.e { font-style: normal; margin-right: .45em; }
.ab-item + .ab-item { margin-top: 2.6rem; }
.ab-item h2 { font-size: 1.5rem; margin-bottom: .7rem; }
.ab-item p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; }
.ab-item--key h2 { font-size: 1.75rem; }

/* 結尾一句 */
.about-sign { font-size: 1.6rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1.3; }

/* 三件事：1-2-3 直排，emoji 圓形徽章 ＋ 標題 ＋ 說明，細線分隔 */
.fw-row { display: flex; gap: 1.4rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.fw-row:first-child { padding-top: .6rem; }
.fw-row:last-child { border-bottom: 0; padding-bottom: 0; }
.fw-row .n { flex: none; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--surface-3); border: 1px solid var(--line);
  font-size: 1.25rem; line-height: 1; display: grid; place-items: center; }
.fw-row .c h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.fw-row .c p { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

@media (max-width: 840px) {
  .about-hero { padding: 3.5rem 0 2.5rem; }
  .about-hero h1 { font-size: 2.1rem; }
  .sec-title { font-size: 1.6rem; }
  .about-inner p.about-key { font-size: 1.1rem; }
  .ab-item h2 { font-size: 1.25rem; }
  .ab-item--key h2 { font-size: 1.4rem; }
  .about-sign { font-size: 1.3rem; }
}

/* --------------------------------------------------------------------------
   15. Product 頁
   -------------------------------------------------------------------------- */
/* 「你要的是哪一種」對照表 */
.pick { width: 100%; max-width: 760px; border-collapse: collapse; text-align: left; }
.pick th, .pick td { padding: 1.05rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pick thead th { text-transform: uppercase; padding-bottom: .7rem; }
.pick tbody tr:last-child th, .pick tbody tr:last-child td { border-bottom: 0; }
.pick tbody th { font-size: 1rem; font-weight: 400; color: var(--text-muted); padding-right: 1.5rem; }
.pick tbody td a { font-weight: 700; color: var(--accent); }
.pick tbody td a:hover { text-decoration: underline; }

/* 一句話的重點行 */
/* 要比 .prose p（0,1,1）高權重，否則字級同顏色都會被蓋過 */
.prose p.key-line { margin: 1.8rem 0; font-size: 1.3rem; font-weight: 700; color: var(--text); line-height: 1.5; }
.prose p.key-line .mark { color: var(--text); background: linear-gradient(transparent 60%, var(--accent-glow) 60%); }

/* 概念清單 */
.learn { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.learn > li { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.section--soft .learn > li { background: var(--surface-2); }
.learn > li p { font-size: .98rem; color: var(--text-muted); line-height: 1.8; }
.learn > li strong { color: var(--text); font-weight: 700; }

/* 引述 */
.quote { border-left: 2px solid var(--accent); padding: .2rem 0 .2rem 1.4rem; margin-top: 2rem;
  font-size: 1.02rem; color: var(--text-muted); line-height: 1.8; max-width: 760px; }

/* 收費區的小標與單行價目 */
.rate-line { font-size: 1.05rem; color: var(--text); }
.rate-line { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.rate-line .price { font-family: var(--font-mono); font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.rate-line .price.gap { margin-left: .6em; }   /* 用 margin 代替空格，保持文案逐字一致 */

@media (max-width: 768px) {
  .learn { grid-template-columns: 1fr; }
  .prose p.key-line { font-size: 1.15rem; }
}

/* --------------------------------------------------------------------------
   16. 用家實證（個案）
   -------------------------------------------------------------------------- */
.case { max-width: 820px; }
.case h2 { font-size: 1.9rem; margin-bottom: .9rem; }
.case-meta { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 2rem; }
.case-meta a { color: var(--accent); }
.case-meta a:hover { text-decoration: underline; }
.case h3 { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin: 2.2rem 0 .8rem; }
.case h3:first-of-type { margin-top: 0; }
.case p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; }
.case p + p { margin-top: 1.1rem; }
.case strong { color: var(--text); font-weight: 700; }
.bullets { margin: 1.1rem 0 0; padding-left: 0; }
.bullets li { position: relative; padding-left: 1.3rem; font-size: 1.02rem; color: var(--text-muted); line-height: 1.9; }
.bullets li::before { content: ''; position: absolute; left: .2rem; top: .85em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.case .quote { margin-top: 1.6rem; }
.case .quote p + p { margin-top: .6rem; }

@media (max-width: 840px) { .case h2 { font-size: 1.5rem; } }

/* --------------------------------------------------------------------------
   17. 文章（列表 ＋ 內頁）
   版面結構參考 benetutor.com/articles.php 同 article.php，視覺換成 dark tech
   -------------------------------------------------------------------------- */

/* ── 共用：封面／無封面時嘅引述塊 ── */
.art-visual { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line); }
.art-visual img { width: 100%; height: 100%; object-fit: cover; }
.art-visual.is-quote { display: grid; place-items: center; padding: 1.6rem;
  background: linear-gradient(140deg, var(--surface-2), var(--surface-1)); }
.art-visual.is-quote span { font-size: .98rem; line-height: 1.8; color: var(--text-muted);
  max-width: 34ch; text-align: left; }
.art-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--text-muted); }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }

/* ── 列表頁 ── */
.art-head { padding: 5.5rem 0 2.5rem; }
.art-head h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.art-head p { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; line-height: 1.8; }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.tag-chip { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em;
  color: var(--text-muted); background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .35rem .9rem; transition: border-color .15s, color .15s; }
.tag-chip:hover { border-color: var(--line-strong); color: var(--text); }
.tag-chip.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }

/* 要寫 .art-card.art-featured：.art-card{display:block} 喺下面，同權重會贏 */
.art-card.art-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.2rem; align-items: center;
  padding: 2.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-featured .badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.art-featured .badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.art-featured h2 { font-size: 1.8rem; margin-bottom: .8rem; }
.art-featured p.sum { font-size: 1.02rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.2rem; }

.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.6rem; margin-top: 2.6rem; }
.art-card { display: block; }
.art-card h3 { font-size: 1.12rem; margin: 1rem 0 .5rem; }
.art-card p { font-size: .93rem; color: var(--text-muted); line-height: 1.8; margin-bottom: .9rem; }
.art-card:hover h3 { color: var(--accent); }
.art-card:hover .art-visual { border-color: var(--line-strong); }
.art-count { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--text-muted); }
.art-list-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: 3rem; }
.art-list-head h2 { font-size: 1.3rem; }

/* ── 內頁 ── */
.read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%;
  background: var(--accent); z-index: 200; transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
  .read-progress { animation: read-grow linear both; animation-timeline: scroll(root block); }
}
@keyframes read-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.art-back { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--text-muted); }
.art-back:hover { color: var(--accent); }
.art-title { font-size: 2.6rem; margin: 1.2rem 0 1.1rem; max-width: 20ch; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3.5rem; align-items: start;
  margin-top: 2.8rem; }
.art-body { max-width: 680px; }
.art-body p { font-size: 1.08rem; color: var(--text-muted); line-height: 1.9; }
.art-body p + p { margin-top: 1.2rem; }
.art-body h2 { font-size: 1.45rem; margin: 2.8rem 0 1rem; scroll-margin-top: 90px; }
.art-body ul { margin: 1.2rem 0; }
.art-body li { position: relative; padding-left: 1.3rem; font-size: 1.05rem; color: var(--text-muted); line-height: 1.9; }
.art-body li::before { content: ''; position: absolute; left: .2rem; top: .9em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent); }
.art-body blockquote { margin: 1.8rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 2px solid var(--accent);
  font-size: 1.12rem; font-weight: 600; color: var(--text); line-height: 1.75; }

.art-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1.6rem; }
.art-side .box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem 1.3rem; }
.art-side h4 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .9rem; }
.toc-list li { margin-bottom: .6rem; }
.toc-list a { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
.toc-list a:hover { color: var(--accent); }
.side-row { display: flex; gap: .8rem; font-size: .88rem; margin-bottom: .6rem; }
.side-row b { flex: none; width: 3.2rem; font-weight: 500; color: var(--text-faint); }
.side-row span { color: var(--text-muted); }

.art-related { border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 2.6rem; }

@media (max-width: 900px) {
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .art-layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .art-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .art-side .box { flex: 1 1 240px; }
}
@media (max-width: 840px) {
  .art-head { padding: 3.5rem 0 2rem; }
  .art-head h1 { font-size: 2.1rem; }
  .art-title { font-size: 1.9rem; max-width: none; }
  .art-card.art-featured { grid-template-columns: 1fr; gap: 1.4rem; }
  .art-featured h2 { font-size: 1.4rem; }
}
@media (max-width: 560px) { .art-grid { grid-template-columns: 1fr; } }

/* 內文插圖 */
.art-body figure { margin: 2rem 0; }
.art-body figure img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); }
.art-body figcaption { margin-top: .7rem; font-size: .86rem; color: var(--text-faint); line-height: 1.7; }
