:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #0d9488;
  --border: #e2e8f0;
  --max: 720px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

section {
  margin-bottom: 1.75rem;
}

section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

section p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: pre-line;
}

.legal-pre {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: pre-line;
  margin: 0;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.card p {
  margin: 0 0 0.5rem;
}

.home-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.home-links li {
  margin-bottom: 0.75rem;
}

.home-links a {
  font-weight: 600;
  font-size: 1.05rem;
}
