/* ASK static pages (/about, /privacy, /terms, 404). Plain HTML served by the
   Worker, NOT the React app — readable with no JavaScript at all, which is the
   point (crawlers, answer engines, Google's brand-verification reviewer).
   Matches the app's black & white theme: #FFFFFF ground, #101010 text, no
   accent colour. System fonts only: a full CJK web font is megabytes, and
   these pages exist to be fast. Mobile first; one 680px reading measure. */

:root {
  --bg: #ffffff;
  --text: #101010;
  --muted: #5f5f5f;
  --hairline: #e6e6e6;
  --bg2: #f4f4f4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC",
    "Microsoft JhengHei", "Heiti TC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }

.site-head {
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .06em; }
.head-cta {
  color: var(--bg); background: var(--text); text-decoration: none;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  min-height: 40px; display: inline-flex; align-items: center;
}

main { padding: 32px 0 48px; }

h1 { font-size: 28px; line-height: 1.35; margin: 0 0 16px; }
h2 { font-size: 20px; line-height: 1.45; margin: 36px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 8px; }
p, li { margin: 0 0 12px; }
ul, ol { padding-left: 1.4em; margin: 0 0 12px; }
a { color: var(--text); }
.lede { font-size: 18px; color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; margin: 8px 0 4px;
  background: var(--text); color: var(--bg); text-decoration: none;
  border-radius: 999px; font-weight: 600; font-size: 16px;
}

.draft-banner {
  background: var(--text); color: var(--bg);
  padding: 10px 16px; font-size: 14px; font-weight: 600; text-align: center;
}

.card { background: var(--bg2); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }

table { border-collapse: collapse; width: 100%; margin: 0 0 16px; font-size: 15px; }
th, td { border-bottom: 1px solid var(--hairline); padding: 8px 6px; text-align: left; vertical-align: top; }
th { font-weight: 600; }

.site-foot {
  border-top: 1px solid var(--hairline);
  padding: 20px 0 32px;
  font-size: 14px; color: var(--muted);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
.site-foot a { color: var(--text); }

@media (min-width: 720px) {
  h1 { font-size: 34px; }
  main { padding: 48px 0 64px; }
}
