/* =====================
   聲間 seikan — 共用樣式
   ===================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #EBEBEB;
  --surface: #FFFFFF;
  --border: #E4E4E4;
  --border-light: #F2F2F2;
  --text-primary: #1A1A1A;
  --text-secondary: #888888;
  --text-muted: #AAAAAA;
  --text-faint: #CCCCCC;
  --tag-bg: #F0F0F0;
  --hover-bg: #F8F8F8;
  --footer-bg: #D8D8D8;
  --accent: #1A1A1A;
  --font: 'Noto Sans TC', 'Hiragino Sans', sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }

/* ── NAV ── */
.nav {
  background: var(--surface);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.nav-logo span {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  margin-left: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  opacity: 1;
}

/* ── PAGE WRAPPER ── */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px 80px;
}

/* ── EYEBROW ── */
.eyebrow {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── PAGE TITLE ── */
.page-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 480px;
}

/* ── DIVIDER ── */
.divider {
  height: 0.5px;
  background: var(--border);
  margin: 36px 0;
}

/* ── SECTION ── */
.section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}

/* ── LIST ── */
.rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.rule-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.rule-list li.ok::before { content: '○'; color: #888; }
.rule-list li.ng::before { content: '×'; color: #AAAAAA; }

/* ── INLINE NOTE ── */
.note {
  background: var(--hover-bg);
  border-left: 2px solid var(--border);
  padding: 14px 18px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-top: 16px;
}

/* ── FAQ ── */
.faq-item {
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border-light);
}

.faq-q {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ── FOOTER ── */
.footer {
  background: var(--footer-bg);
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-en);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-links { gap: 18px; }
  .page-content { padding: 36px 20px 60px; }
  .footer { padding: 16px 20px; flex-direction: column; gap: 10px; text-align: center; }
}
