/* 外觀覆蓋層：暖白紙面、襯線標題、單一深綠強調色。
   不動結構與滑竿，只換顏色、字體、圓角、陰影；去掉黑底、光暈、漸層、彩色頂條。 */

:root {
  --paper:   #f7f4ee;
  --paper-2: #efeae0;
  --card:    #fffdf9;
  --ink:     #1f1d1a;
  --ink-2:   #4f4a42;
  --ink-3:   #7d776c;
  --rule:    #d8d2c6;
  --accent:  #1f4b3d;
  --accent-2:#2f6a57;
  --warn:    #8a5a1c;
  --neg:     #9b3b2e;

  /* 把原本的藍、紫、綠、橘全部收斂到同一組顏色 */
  --c-blue: var(--accent);
  --c-blue-hv: var(--accent-2);
  --c-purple: var(--accent);
  --c-green: var(--accent);
  --c-orange: var(--warn);
  --c-black: var(--ink);
  --c-gray: var(--ink-2);
  --c-light: var(--ink-3);
  --c-bg: var(--paper);
  --c-white: var(--card);
  --c-divider: var(--rule);
  --radius-lg: 4px;
  --radius-md: 4px;
  --radius-sm: 2px;
  --shadow-card: none;
  --shadow-hover: none;
  --serif: 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
}

html { scroll-behavior: auto; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', sans-serif;
  line-height: 1.8;
  letter-spacing: 0.01em;
}
body, p, li, td, th { font-weight: 400; }
strong, b { font-weight: 700; }

/* 標題與大數字用襯線 */
.pt-hero-h1, .pt-section-title, .pt-section-h2, .pt-cta-h2,
.pt-stat-card-num, .pt-deal-total-value, .pt-timing-card-title,
.pt-moat-card-title, .pt-term-title, .pt-plan-col-title, .pt-finance-sub-title {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

/* 機密橫幅：不再是橘色警示條 */
.pt-banner { background: var(--ink); height: 34px; }
.pt-banner-text { color: var(--paper); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; text-transform: none; }
.pt-banner-sep { background: rgba(247,244,238,0.4); }
#pt-nav { top: 34px; }
.pt-nav-offset { padding-top: calc(var(--nav-h) + 34px); }

/* 導覽列 */
.nav, .nav.scrolled {
  background: rgba(247,244,238,0.96);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid var(--rule);
  box-shadow: none;
}
.nav-links a { color: var(--ink-2); font-weight: 400; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-logo { color: var(--ink); font-family: var(--serif); font-weight: 700; }

/* 首屏：紙面，不是黑底 */
.pt-hero {
  background: var(--paper);
  color: var(--ink);
  padding-top: calc(var(--nav-h) + 34px);
  min-height: 0;
  border-bottom: 1px solid var(--rule);
}
.pt-hero-glow-a, .pt-hero-glow-b, .pt-cta-glow { display: none; }
.pt-hero-inner { padding: 88px 24px 96px; align-items: start; }
.pt-hero-eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.18em; text-transform: none; font-size: 13px; }
.pt-hero-eyebrow::before { background: var(--accent); height: 1px; width: 28px; border-radius: 0; }
.pt-hero-h1 { color: var(--ink); line-height: 1.3; font-size: clamp(32px, 4.4vw, 54px); }
.pt-hero-h1-accent {
  background: none; -webkit-text-fill-color: currentColor; color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.pt-hero-sub { color: var(--ink-2); max-width: 520px; font-size: 16px; }
.pt-chip {
  border: 1px solid var(--rule); border-radius: 2px; color: var(--ink-2);
  background: transparent; font-weight: 400; font-size: 13px;
}
.pt-chip-purple, .pt-chip-green, .pt-chip-blue {
  border-color: var(--accent); color: var(--accent); background: transparent;
}

/* 成交條件卡：像報價單，不是發光儀表板 */
.pt-deal-card, .pt-plan-b-deal, .pt-plan-fee-card {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  padding: 28px 32px;
}
.pt-deal-card-title, .pt-plan-fee-title {
  color: var(--ink); font-family: var(--serif); font-size: 15px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: none; border-bottom: 1px solid var(--ink);
}
.pt-deal-row, .pt-plan-fee-row { border-bottom: 1px solid var(--rule); }
.pt-deal-row-label, .pt-plan-fee-label { color: var(--ink-2); }
.pt-deal-row-value, .pt-plan-fee-value { color: var(--ink); font-weight: 700; }
.pt-deal-divider, .pt-plan-fee-divider { border-top: 1px solid var(--rule); }
.pt-deal-section-label, .pt-plan-fee-section { color: var(--ink-3); text-transform: none; letter-spacing: 0.04em; font-size: 12px; font-weight: 400; }
.pt-deal-highlight { color: var(--accent); }
.pt-deal-total-label { color: var(--ink); }
.pt-deal-total-value { color: var(--ink); font-size: 20px; }
.pt-plan-fee-value-hi { color: var(--ink); }

/* 通用區塊底色：白、灰交替改為紙面與稍深紙面 */
.pt-section-white { background: var(--paper); }
.pt-section-gray, .pt-section-light { background: var(--paper-2); }
.pt-section-white, .pt-section-gray, .pt-section, .pt-finance-section { padding-top: 88px; padding-bottom: 88px; }
.pt-section-label, .pt-section-label-purple, .pt-section-label-white {
  color: var(--accent); font-weight: 700; letter-spacing: 0.18em; text-transform: none; font-size: 13px;
}
.pt-section-title, .pt-section-h2, .pt-section-title-white { color: var(--ink); line-height: 1.35; font-size: clamp(24px, 3vw, 36px); }
.pt-section-desc, .pt-section-desc-white { color: var(--ink-2); font-size: 16px; }
.pt-section-header { margin-bottom: 44px; }

/* 三張卡片：去陰影、去浮起、去彩色頂條、去彩色圖示底 */
.pt-timing-card, .pt-moat-card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 2px;
  box-shadow: none; padding: 28px 26px;
}
.pt-timing-card:hover, .pt-moat-card:hover, .pt-term-card:hover, .pt-ss-card:hover { transform: none; box-shadow: none; }
.pt-moat-card::before { display: none; }
.pt-timing-icon, .pt-timing-icon-orange, .pt-timing-icon-green, .pt-timing-icon-purple,
.pt-term-icon { background: none; border-radius: 0; width: auto; height: auto; justify-content: flex-start; margin-bottom: 14px; }
.pt-moat-icon { width: 30px; height: 30px; }
.pt-moat-card-title { margin-top: 12px; }
.pt-moat-card-subtitle, .pt-moat-card-subtitle-green, .pt-moat-card-subtitle-purple, .pt-moat-card-subtitle-blue {
  color: var(--ink-3); text-transform: none; letter-spacing: 0.06em; font-weight: 400; font-size: 13px;
}
.pt-timing-points li, .pt-moat-points li, .pt-term-desc, .pt-resp-text, .pt-tl-text { color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.pt-timing-points li::before, .pt-moat-points li::before { color: var(--ink-3); }

/* 照片：直角、細框 */
.pt-ss-notice { background: transparent; border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0; color: var(--ink-2); }
.pt-ss-card { border: 1px solid var(--rule); border-radius: 0; background: var(--card); }
.pt-ss-card figcaption { color: var(--ink-2); border-top: 1px solid var(--rule); font-weight: 400; }

/* 分頁按鈕 */
.pt-plan-tab { border: 1px solid var(--ink); border-radius: 0; color: var(--ink); font-weight: 400; padding: 10px 22px; }
.pt-plan-tab:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
.pt-plan-tab-active, .pt-plan-tab-active:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pt-plan-warning { border-left: 3px solid var(--warn); background: transparent; border-radius: 0; color: var(--ink-2); }
.pt-plan-warning strong { color: var(--warn); }
.pt-plan-b-note { background: transparent; border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0; color: var(--ink-2); }
.pt-plan-checklist li svg { color: var(--accent); }

/* 表格：只有橫線，沒有色塊與陰影 */
.pt-compare-table, .pt-risk-table { background: transparent; border-radius: 0; box-shadow: none; border-top: 2px solid var(--ink); }
.pt-compare-table th, .pt-risk-table th {
  background: transparent; color: var(--ink); font-weight: 700; text-transform: none;
  letter-spacing: 0.04em; font-size: 13px; border-bottom: 1px solid var(--ink);
}
.pt-compare-table td, .pt-risk-table td { border-bottom: 1px solid var(--rule); color: var(--ink); }
.pt-compare-table tr:nth-child(even) td, .pt-risk-table tr:nth-child(even) td { background: transparent; }
.pt-compare-table td:nth-child(2) { color: var(--ink-2); }
.pt-compare-table td:nth-child(3) { color: var(--accent); font-weight: 700; }
.pt-risk-badge { border-radius: 2px; background: transparent; border: 1px solid currentColor; font-weight: 400; }
.pt-risk-med { color: var(--warn); }
.pt-risk-low { color: var(--accent); }

/* 財務預測區：紙面，不是黑底 */
.pt-finance-section { background: var(--paper); color: var(--ink); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pt-formula-block, .pt-plan-formula {
  background: var(--card); border: 1px solid var(--rule); border-radius: 2px;
  color: var(--ink-2); font-family: 'SF Mono', 'Menlo', 'Noto Sans TC', monospace; font-size: 13px;
}
.pt-formula-title, .pt-plan-formula-title {
  color: var(--ink); border-bottom: 1px solid var(--rule); text-transform: none; letter-spacing: 0.04em;
  font-family: 'Noto Sans TC', sans-serif; font-size: 13px;
}
.pt-formula-divider { color: var(--rule); }
.pt-formula-label { color: var(--ink-2); }
.pt-formula-num { color: var(--accent); }
.pt-formula-comment { color: var(--ink-3); }
.pt-formula-key { color: var(--ink); font-weight: 700; }
.pt-formula-result { color: var(--ink); }

.pt-slider-section { background: var(--card); border: 1px solid var(--rule); border-radius: 2px; }
.pt-slider-title { color: var(--ink); text-transform: none; letter-spacing: 0.04em; font-size: 14px; }
.pt-slider-group-label, .pt-slider-group-label-first { color: var(--ink-3); text-transform: none; letter-spacing: 0.04em; }
.pt-slider-group-label { border-top: 1px solid var(--rule); }
.pt-slider-label { color: var(--ink-2); font-weight: 400; }
.pt-slider-val { color: var(--accent); font-weight: 700; }
input[type=range].pt-slider { background: var(--rule); height: 3px; border-radius: 0; }
input[type=range].pt-slider::-webkit-slider-thumb { background: var(--ink); border-radius: 0; width: 14px; height: 20px; box-shadow: none; }
input[type=range].pt-slider::-moz-range-thumb { background: var(--ink); border: 0; border-radius: 0; width: 14px; height: 20px; }
.pt-slider-range-labels { color: var(--ink-3); }

.pt-stat-card { background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--ink); border-radius: 0; text-align: left; padding: 20px 20px 18px; }
.pt-stat-card-num, .pt-stat-card-num-green, .pt-stat-card-num-purple, .pt-stat-card-num-yellow { color: var(--ink); font-weight: 700; }
.pt-stat-card-label { color: var(--ink-2); font-size: 13px; }

.pt-chart-wrap { background: var(--card); border: 1px solid var(--rule); border-radius: 2px; }
.pt-finance-sub-title { color: var(--ink); }
.pt-finance-table th { background: transparent; color: var(--ink); text-transform: none; letter-spacing: 0.04em; font-size: 13px; border-bottom: 1px solid var(--ink); }
.pt-finance-table { border-top: 2px solid var(--ink); }
.pt-finance-table td { color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.pt-finance-table tr:hover td { background: transparent; }
.pt-num-pos { color: var(--accent); font-weight: 700; }
.pt-num-neg { color: var(--neg); font-weight: 700; }
.pt-num-hi  { color: var(--ink); font-weight: 700; }
.pt-row-highlight td { background: transparent; }
.pt-row-total td { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--ink); }
.pt-text-white, .pt-text-yellow, .pt-text-green { color: var(--ink); }
.pt-text-red { color: var(--neg); }
.pt-text-dim { color: var(--ink-3); }
.pt-footnotes { background: transparent; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 20px 0 0; }
.pt-footnote-title { color: var(--ink); text-transform: none; letter-spacing: 0.04em; font-size: 13px; }
.pt-footnote-list li { color: var(--ink-2); font-size: 13px; }
.pt-footnote-list strong { color: var(--ink); }
.pt-finance-note { color: var(--ink-3); }

/* 交接分工 */
.pt-resp-col, .pt-resp-col-white { background: var(--card); border: 1px solid var(--rule); border-radius: 2px; box-shadow: none; }
.pt-resp-col-title, .pt-resp-col-title-you, .pt-resp-col-title-tech {
  color: var(--ink); font-family: var(--serif); text-transform: none; letter-spacing: 0.04em; font-size: 16px;
  border-bottom: 1px solid var(--ink);
}
.pt-resp-num, .pt-resp-num-you, .pt-resp-num-tech { background: transparent; border: 1px solid var(--ink); color: var(--ink); border-radius: 0; font-weight: 400; }
.pt-resp-note { background: transparent; border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0; color: var(--ink-2); }

/* 時程 */
.pt-tl-dot { border-radius: 0; width: 10px; height: 10px; box-shadow: none !important; animation: none !important; }
.pt-tl-dot-done, .pt-tl-dot-active { background: var(--ink); }
.pt-tl-dot-future { background: var(--paper); border: 1px solid var(--ink-3); }
.pt-tl-line { background: var(--rule); }
.pt-tl-period, .pt-tl-period-done, .pt-tl-period-active { color: var(--accent); text-transform: none; letter-spacing: 0.06em; font-size: 13px; }
.pt-tl-period-future { color: var(--ink-3); }

/* 條款卡 */
.pt-term-card { background: var(--card); border: 1px solid var(--rule); border-radius: 2px; box-shadow: none; }
.pt-term-card:hover { background: var(--card); }

/* 結尾與頁尾：只留一塊深色，沒有光暈 */
.pt-cta-section { background: var(--ink); padding: 96px 24px; }
.pt-cta-h2 { color: var(--paper); font-size: clamp(28px, 4vw, 44px); line-height: 1.35; }
.pt-cta-sub { color: rgba(247,244,238,0.7); font-size: 17px; }
.btn { border-radius: 0; font-weight: 700; }
.btn:hover { transform: none; }
.btn-primary { background: var(--accent); }
.pt-btn-white-dark { background: var(--paper); color: var(--ink); }
.pt-btn-outline-white { color: var(--paper); border: 1px solid rgba(247,244,238,0.5); }
.pt-footer-note { background: var(--ink); border-top: 1px solid rgba(247,244,238,0.15); }
.pt-footer-note p { color: rgba(247,244,238,0.55); }

.reveal { transition-duration: 0.5s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* 修正：公式欄位對齊、置中標題的說明、圖示統一色、結尾小標 */
.pt-formula-divider { display: none; }
.pt-formula-key { display: inline-block; min-width: 7.5em; }
.pt-formula-label { display: inline; }
.text-center .pt-section-desc { margin-left: auto; margin-right: auto; }
.pt-timing-icon svg, .pt-timing-icon svg *, .pt-moat-icon, .pt-moat-icon *, .pt-term-icon svg, .pt-term-icon svg * { stroke: var(--accent); }
.pt-cta-section .pt-section-label, .pt-cta-section .pt-section-label-white { color: rgba(247,244,238,0.6); }
.pt-nav-offset { background: var(--paper); }

@media (max-width: 600px) {
  .pt-banner-text { font-size: 10px; gap: 6px; white-space: nowrap; letter-spacing: 0; }
  .pt-banner-text svg { display: none; }
}
