/* Konvolut — 1a 極簡靜態版 · 共用樣式
   零外部依賴，系統襯線字型，黑白紙感。 */

:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --paper: #faf9f6;
  --muted: #5a5a5a;
  --rule: #ddd8cf;
  --serif: Georgia, 'Noto Serif TC', 'Songti TC', serif;
  --measure: 40em;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

/* 中文內文：不加字距、逐字齊行、逐字間斷行 */
p,
li {
  text-align: justify;
  text-justify: inter-ideographic;
  word-break: normal;
  overflow-wrap: break-word;
}

/* 英文片段：斜體、稍縮小、不齊行（英文以自然換行為主） */
[lang="en"] {
  font-style: italic;
  color: var(--muted);
  text-align: left;
  text-justify: auto;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: var(--muted);
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header.site-header {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}

.wordmark {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: normal;
  letter-spacing: 0.02em; /* 僅用於英文品牌字，非中文內文 */
  margin: 0;
}

.wordmark a {
  text-decoration: none;
}

section {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}

section.hero {
  border-top: none;
  padding-top: 1rem;
  text-align: center;
}

section.hero h1 {
  font-size: 2.4rem;
  font-weight: normal;
  margin: 0 0 2rem;
}

section.hero p {
  text-align: center;
}

h2 {
  font-size: 1.3rem;
  font-weight: normal;
  margin: 0 0 1.5rem;
  letter-spacing: 0.04em; /* 英文小標，非中文內文 */
  text-transform: uppercase;
  color: var(--muted);
}

h3 {
  font-size: 1.1rem;
  font-weight: normal;
  margin: 2rem 0 0.75rem;
}

.tier {
  margin: 0 0 1.75rem;
  padding: 0 0 1.75rem;
  border-bottom: 1px solid var(--rule);
}

.tier:last-of-type {
  border-bottom: none;
}

.tier-name {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.tier-price {
  color: var(--muted);
  font-style: normal;
}

.fine-print {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-email {
  font-size: 1.2rem;
}

footer.site-footer {
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--rule);
}

footer.site-footer p {
  text-align: center;
}

nav.policies-nav {
  text-align: center;
  padding: 2rem 1.5rem 0;
  font-size: 0.95rem;
}

@media (max-width: 30em) {
  section.hero h1 {
    font-size: 1.9rem;
  }

  header.site-header {
    padding: 3rem 1.25rem 1.5rem;
  }

  section {
    padding: 2.25rem 0;
  }
}
