:root {
  --ink: #151515;
  --ink-soft: #66645f;
  --cream: #f3f0e9;
  --cinnabar: #d9472b;
}

* { box-sizing: border-box; }
html { background: var(--cream); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  min-height: 76px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2 + 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(248, 246, 240, .94);
  border-bottom: 1px solid rgba(21, 21, 21, .14);
  position: sticky;
  top: 0;
  z-index: 50;
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: 5px; }
.wordmark strong { display: block; font-size: .98rem; font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.wordmark small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .58rem; font-weight: 500; letter-spacing: .12em; }
.site-header nav a { padding: 8px 0; color: #4d4c48; font-size: .85rem; font-weight: 500; text-decoration: none; }
.site-header nav a:hover { color: var(--cinnabar); }

.eyebrow { margin: 0 0 20px; color: var(--cinnabar); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legal-page { width: min(100% - 40px, 820px); margin: 0 auto; padding: 96px 0 120px; }
.legal-page h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 6rem); font-weight: 650; line-height: .96; letter-spacing: -.06em; }
.legal-page h2 { margin: 46px 0 12px; font-size: 1.25rem; }
.legal-page p { color: var(--ink-soft); line-height: 1.85; }
.legal-page a { color: var(--cinnabar); }
.legal-date { margin-top: 18px; font-size: .8rem; }

.site-footer {
  padding: 34px max(32px, calc((100vw - 1180px) / 2 + 32px));
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, .58);
  background: #111;
  font-size: .69rem;
  letter-spacing: .08em;
}
.footer-logo { width: 72px; height: 72px; object-fit: cover; border-radius: 5px; }
.footer-legal { margin-left: auto; display: flex; gap: 18px; }
.footer-legal a { text-decoration: none; }

@media (max-width: 620px) {
  .site-header { min-height: 64px; padding: 0 20px; }
  .brand-icon { width: 44px; height: 44px; }
  .wordmark > span { display: none; }
  .site-header nav a { font-size: .72rem; }
  .site-footer { padding: 30px 20px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .footer-legal { margin-left: 0; }
}

html:lang(zh-Hant-TW) body {
  font-family: "Instrument Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.8;
}
