/* 股市避雷針 — 上架用靜態頁（支援 / 隱私權 / 條款）共用樣式。沿用主站 Light Mode 設計語彙。 */
:root {
  --bg: #f8f9fa;
  --card-bg: #ffffff;
  --card-border: #e6e8ee;
  --text: #1f2733;
  --muted: #667085;
  --blue: #2563eb;
  --blue-2: #2f8cff;
  --blue-3: #6ad6ff;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px -8px rgba(16, 24, 40, .10);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-out: 'Outfit', 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  color: var(--text); font-family: var(--font);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fa 38%, #f3f5f8 100%) fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  line-height: 1.7; min-height: 100vh;
}

/* Top bar (sticky brand) */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 9px;
  padding: 14px 28px; background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4); backdrop-filter: saturate(1.4);
  border-bottom: 1px solid var(--card-border);
}
.topbar a.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand h1 { font-family: var(--font-out); font-size: 1.25rem; font-weight: 800; letter-spacing: -.6px; color: var(--text); }

/* Document */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 24px 72px; }
.doc h2 { font-family: var(--font-out); font-size: 1.9rem; font-weight: 800; letter-spacing: -.8px; margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
.doc .lead {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px;
  box-shadow: var(--shadow-card); padding: 18px 20px; margin-bottom: 28px; color: var(--text);
}
.doc section { margin-bottom: 26px; }
.doc h3 {
  font-family: var(--font-out); font-size: 1.12rem; font-weight: 700;
  margin-bottom: 8px; padding-left: 10px; border-left: 3px solid var(--blue);
}
.doc p { margin-bottom: 10px; color: #303a47; }
.doc ul { margin: 6px 0 10px 4px; padding-left: 20px; }
.doc li { margin-bottom: 6px; color: #303a47; }
.doc a { color: var(--blue); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc strong { font-weight: 700; }
.doc .note {
  font-size: .9rem; color: var(--muted);
  background: #f6f8fb; border: 1px solid var(--card-border); border-radius: 12px; padding: 14px 16px;
}
.doc .contact { font-family: var(--font); font-size: 1rem; }
.doc .contact a { font-weight: 600; }

/* Footer */
.foot {
  max-width: 760px; margin: 0 auto; padding: 22px 24px 48px;
  border-top: 1px solid var(--card-border); color: var(--muted); font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between;
}
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--blue); }
