:root {
  --bg: #1a1a1a;
  --surface: #232322;
  --text: #f2efe9;
  --muted: #a8a49c;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #d67958;
  --brand-light: #e8977a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--brand-light); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 14px; }
nav a:hover { color: var(--text); }
.hero { text-align: center; padding: 72px 0 48px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; }
.hero h1 { font-size: 36px; line-height: 1.25; margin: 28px 0 12px; letter-spacing: -0.5px; }
.hero p { color: var(--muted); margin: 0; font-size: 17px; }
.badge { display: inline-block; margin-top: 28px; padding: 10px 22px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; }
.badge.soon { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding-bottom: 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-title { font-size: 22px; margin: 8px 0 18px; }
.privacy-note { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 56px; color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); margin-right: 16px; }
/* 隱私權政策 */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: 28px; line-height: 1.3; }
.doc h2 { font-size: 20px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: #dcd8d0; }
.doc code { background: var(--surface); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.doc .table { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
.doc blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 12px 12px 0; }
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  nav a { margin-left: 12px; }
}

/* 2026-10-22：/tw/ 網址結構、說明中心、文件頁 */
footer.bottom .wrap { flex-wrap: wrap; gap: 6px 18px; }
footer.bottom a { color: var(--muted); text-decoration: none; }
footer.bottom span { margin-left: auto; }
.doc h1 { font-size: 26px; line-height: 1.35; margin: 40px 0 8px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.table { overflow-x: auto; margin: 16px 0; }
.table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.table th, .table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.table th { background: var(--surface); }
code { background: var(--surface); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.muted { color: var(--muted); }
.help-hero { text-align: center; padding: 48px 0 24px; }
.help-hero h1 { font-size: 28px; margin: 0 0 20px; }
#help-q { width: 100%; max-width: 520px; height: 48px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 20px; font-size: 16px; }
#help-results { max-width: 520px; margin: 12px auto 0; text-align: left; background: var(--surface); border-radius: 16px; padding: 8px 0; }
#help-results .hit { display: block; padding: 10px 20px; color: var(--text); text-decoration: none; }
#help-results .hit:hover { background: rgba(255, 255, 255, 0.05); }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0 40px; }
.topic { text-decoration: none; color: var(--text); }
.topic h3 { margin: 0 0 4px; font-size: 16px; }
.topic p { margin: 0; color: var(--muted); font-size: 14px; }
.crumb { color: var(--muted); font-size: 14px; margin: 28px 0 0; }
.crumb a { color: var(--muted); }
.steps li { margin: 8px 0; }
details.faq { background: var(--surface); border-radius: 14px; padding: 4px 18px; margin: 10px 0; }
details.faq summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
.faq-a { padding-bottom: 12px; }
.help-feedback { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; font-size: 14px; }
.help-feedback .hf-q { margin: 0 0 8px; color: var(--muted); }
.help-feedback button { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: 6px 18px; margin-right: 8px; font-size: 14px; cursor: pointer; }
.help-feedback button:hover { border-color: var(--brand); }
.help-feedback textarea { width: 100%; min-height: 72px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; margin-bottom: 8px; }
@media (max-width: 560px) {
  header.top nav { overflow-x: auto; white-space: nowrap; max-width: 62vw; }
}
