/* spectrum.css 改由各頁 <head> 以 <link> 並行載入（#854，避免 @import 序列請求鏈） */

/* ===== Panda Zhuyin Design System ===== */
/* 貓熊黑白配色 + 腮紅粉/棕色點綴 */

/* ===== 0. CSS Variables ===== */
:root {
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Typography */
  --font-serif: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --font-sans-cjk: "Noto Sans TC", "Source Han Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;

  /* Layout */
  --max-width: 64rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(22, 22, 22, 0.06);
  --shadow-md: 0 4px 12px rgba(22, 22, 22, 0.08);
  --shadow-hover: 0 8px 24px rgba(214, 116, 138, 0.18);
}

[data-theme="dark"] {
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ===== 1. Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--bg); }

body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: opacity 0.5s ease;
}
.js-loading body { opacity: 0; }
.ph { vertical-align: -0.125em; }

/* ===== 2. Layout ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); }

/* ===== 3. Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
}
.site-logo img { width: 28px; height: 28px; border-radius: 6px; }
.site-logo-icon-dark { display: none; }
[data-theme="dark"] .site-logo-icon-light { display: none; }
[data-theme="dark"] .site-logo-icon-dark { display: block; }
.header-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: color 0.2s, border-color 0.2s;
}
.header-btn:hover { color: var(--text); border-color: var(--text-secondary); }

/* ===== 4. Hero ===== */
.hero { padding: var(--space-2xl) 0; }
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.hero-text { text-align: center; }
.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}
.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 28rem;
  margin: 0 auto var(--space-lg);
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== 5. Shared Components ===== */
.section { padding: var(--space-xl) 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Editorial section rule — thematic break。
   margin: 0 — 緊貼 section 邊界，由 .section padding 主導分隔；
   rule line 作為 punctuation 而非分頁標尺。 */
.section-rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
  width: 100%;
}
.section-rule--short {
  border: 0;
  border-top: 1px solid var(--border);
  width: 4rem;
  margin: var(--space-md) auto;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  background: var(--rose);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--rose) 82%, black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* App Store badge — 淺/深色雙圖切換模式 */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  height: 60px;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.app-store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}
.app-store-badge img {
  height: 60px;
  width: auto;
  display: block;
}
.app-store-badge .badge-dark { display: none; }
[data-theme="dark"] .app-store-badge .badge-light { display: none; }
[data-theme="dark"] .app-store-badge .badge-dark { display: block; }

.hero-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.js-fade-ready .fade-in { opacity: 0; transform: translateY(16px); }
.js-fade-ready .fade-in.visible { animation: fadeInUp 0.6s ease forwards; }

/* ===== #838 光譜元件 ===== */

/* header 導覽連結（說明書入口）：margin-left auto 靠右、與語言鈕成組，避免單一連結被 space-between 撐到正中央 */
.site-nav { display: flex; gap: 1.25rem; margin-left: auto; margin-right: 0.5rem; }
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }

/* flick 十字 motif：中央實點＋四方向淡點（區塊標記用，色跟隨 .c-*） */
.fcross { position: relative; width: 1.35rem; height: 1.35rem; flex: none; }
.fcross i {
  position: absolute; width: 0.3rem; height: 0.3rem; border-radius: 50%;
  background: currentColor; left: 50%; top: 50%; translate: -50% -50%;
}
.fcross i:nth-child(2) { translate: -50% calc(-50% - 0.5rem); opacity: 0.45; }
.fcross i:nth-child(3) { translate: -50% calc(-50% + 0.5rem); opacity: 0.45; }
.fcross i:nth-child(4) { translate: calc(-50% - 0.5rem) -50%; opacity: 0.45; }
.fcross i:nth-child(5) { translate: calc(-50% + 0.5rem) -50%; opacity: 0.45; }

/* persona pill 色點（取代 icon） */
.pill-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; flex: none; }

/* hero flick 鍵演示（ㄉ 鍵，鍵位與 manual/animations/initial.html 一致） */
.flick-demo { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.fd-pad { position: relative; width: 260px; height: 260px; }
.fd-center {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 92px; height: 92px; border-radius: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 700; color: var(--text); z-index: 2;
}
.fd-hints { display: flex; gap: 4px; font-size: 12px; font-weight: 600; margin-top: 2px; }
.fd-petal {
  position: absolute; width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; color: var(--on-color);
  opacity: 0; scale: 0.55; z-index: 1;
}
.fd-petal.up    { left: 50%; top: 8px;  translate: -50%;    background: var(--amber);  animation: fd-bloom 8s infinite; }
.fd-petal.left  { left: 12px; top: 50%; translate: 0 -50%;  background: var(--jade);   animation: fd-bloom 8s 2s infinite; }
.fd-petal.right { right: 12px; top: 50%; translate: 0 -50%; background: var(--jade);   animation: fd-bloom 8s 4s infinite; }
.fd-petal.down  { left: 50%; bottom: 8px; translate: -50%;  background: var(--indigo); animation: fd-bloom 8s 6s infinite; }
@keyframes fd-bloom {
  0%, 6%    { opacity: 0; scale: 0.55; }
  10%, 20%  { opacity: 1; scale: 1; }
  26%, 100% { opacity: 0; scale: 0.55; }
}
.fd-finger {
  position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(22, 22, 22, 0.28);
  translate: -50% -50%; opacity: 0; z-index: 3;
  animation: fd-finger 8s infinite;
}
[data-theme="dark"] .fd-finger { background: rgba(255, 255, 255, 0.30); }
@keyframes fd-finger {
  0%          { opacity: 0;    transform: translate(0, 0); }
  2%, 5%      { opacity: 0.9;  transform: translate(0, 0); }
  10%         { opacity: 0.9;  transform: translate(0, -72px); }
  14%         { opacity: 0;    transform: translate(0, -72px); }
  25%, 27.5%  { opacity: 0.9;  transform: translate(0, 0); }
  32.5%       { opacity: 0.9;  transform: translate(-72px, 0); }
  36.5%       { opacity: 0;    transform: translate(-72px, 0); }
  50%, 52.5%  { opacity: 0.9;  transform: translate(0, 0); }
  57.5%       { opacity: 0.9;  transform: translate(72px, 0); }
  61.5%       { opacity: 0;    transform: translate(72px, 0); }
  75%, 77.5%  { opacity: 0.9;  transform: translate(0, 0); }
  82.5%       { opacity: 0.9;  transform: translate(0, 72px); }
  86.5%, 100% { opacity: 0;    transform: translate(0, 72px); }
}
.fd-caption { font-size: 0.85rem; color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce) {
  .fd-petal, .fd-finger { animation: none; }
  .fd-petal { opacity: 1; scale: 1; }
  .fd-finger { display: none; }
}

/* 區塊尾端導流說明書（How It Works / Taigi / Themes 共用） */
.manual-cta { margin-top: var(--space-md); }

/* ===== 5b. Video ===== */
.video-wrapper {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== 6. How It Works — editorial 編號分章 ===== */
.how-steps {
  list-style: none;
  padding: 0;
  max-width: 44rem;
  margin: 0 auto;
}
.how-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-light);
}
.how-step:first-child { border-top: none; padding-top: var(--space-sm); }
.how-step-no {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--on-color);
  background: var(--jade);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  line-height: 1;
}
.how-step-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}
.how-step-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .how-step { grid-template-columns: 3rem 1fr; gap: var(--space-sm); }
}

/* ===== 6d. Editorial entries（Advanced / Taigi / Themes 共用，Recipe 2 inset） ===== */
.advanced-list {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.advanced-entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
}
.advanced-entry-head h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.advanced-entry-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.advanced-entry p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== 6e. Features — 3-cluster narrative ===== */
.features-clusters {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.feature-cluster h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}
.feature-cluster-body {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}
.feature-cluster-list {
  list-style: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.feature-cluster-list li::before {
  content: "— ";
  color: var(--indigo);
}

/* ===== 7. CTA Section ===== */
.cta-section {
  text-align: center;
  padding: var(--space-xl) 0;
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.cta-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.cta-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  letter-spacing: 0.03em;
}
.cta-note a { color: var(--text-secondary); text-decoration: underline; }
.cta-note a:hover { color: var(--text); }

/* ===== 8b. Android Request Callout（editorial typography + secondary link） ===== */
.android-request-section {
  text-align: center;
  padding: var(--space-xl) 0;
}
.android-request-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text);
}
.android-request-body {
  max-width: 36rem;
  margin: 0 auto var(--space-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.android-request-note {
  margin-top: var(--space-sm);
}

/* ===== 9. Footer ===== */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: var(--space-lg) 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.footer-links,
.footer-social {
  display: flex;
  gap: var(--space-md);
}
.footer-links a,
.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
/* 社群連結為 icon-only，圖示比文字連結稍大（約 18px）較清楚 */
.footer-social a {
  display: inline-flex;
  font-size: 1.1rem;
}
.footer-links a:hover,
.footer-social a:hover { color: var(--text); }

/* ===== 10. Privacy Page ===== */
.page-header {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xs);
}
.page-header-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.page-content {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}
.page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: var(--space-lg) 0 var(--space-sm);
}
.page-content h3 {
  margin: var(--space-md) 0 var(--space-xs);
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-weight: 600;
}
.page-content p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}
.page-content ul {
  margin-bottom: var(--space-sm);
  padding-left: 1.5em;
}
.page-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}
.page-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-thickness 0.2s;
}
.page-content a:hover { text-decoration-thickness: 2px; }

.page-content .last-updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: var(--space-xl);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-light);
}

/* ===== 11. Header Controls + Lang Switcher ===== */
.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.lang-switcher button {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25em 0.4em;
  opacity: 0.5;
  transition: opacity 0.15s, color 0.15s;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.lang-switcher button.active { opacity: 1; color: var(--text); }
.lang-switcher button:hover { opacity: 1; }
.lang-switcher .divider { color: var(--text-secondary); opacity: 0.4; }

/* ===== 12. Tip Jar ===== */
.tipjar-section { text-align: center; }
.tipjar-section .section-label { justify-content: center; }
.tipjar-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}
.tipjar-lead {
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  max-width: 36rem;
  margin: 0 auto;
}
.support-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.support-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.support-card .ph { font-size: 1.2em; }
.support-card-ecpay:hover { border-color: color-mix(in srgb, #00AF54 60%, var(--text-secondary)); }
.support-card-bmc:hover   { border-color: color-mix(in srgb, #D4A017 60%, var(--text-secondary)); }
.support-card-paypal:hover{ border-color: color-mix(in srgb, #0070BA 60%, var(--text-secondary)); }

/* ===== 13. Download CTA Actions（雙按鈕容器 + secondary） ===== */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-md);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.6em 1em;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.cta-secondary:hover { color: var(--text); border-bottom-color: var(--jade); }
.cta-secondary .ph { font-size: 1.1em; }

/* ===== Hero L2 — sub-persona 認領 pills（fold 線下方） ===== */
.hero-personas {
  max-width: var(--max-width);
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg) var(--space-md) 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
}
.hero-personas-lead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}
.persona-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-sm);
}
.persona-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5em 0.9em;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: border-color 0.2s, transform 0.15s;
}
.persona-pill:hover {
  border-color: var(--amber);
  transform: translateY(-1px);
}
.hero-personas-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9rem;
}
.hero-personas-link:hover { text-decoration: underline; }

/* ===== Persona Grid (§4 為誰做的) ===== */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-md);
}
.persona-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: var(--space-lg);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.persona-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto var(--space-md);
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--amber);
  font-size: 2.2rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.persona-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.persona-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Privacy — editorial layout ===== */
.privacy-facts-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
.privacy-facts-editorial h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.privacy-facts-editorial h3 .ph {
  color: var(--jade);
  font-size: 1.1em;
}
.privacy-facts-editorial p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.margin-note {
  max-width: 36rem;
  margin: var(--space-md) auto var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-left: 1px solid var(--border-light);
  text-align: left;
  font-family: var(--font-serif);
  color: var(--text-secondary);
  line-height: 1.8;
}
.margin-note strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3em;
  font-size: 1rem;
}
.margin-note p { margin: 0; font-size: 0.95rem; }

.features-disclaimer {
  max-width: 44rem;
  margin: var(--space-md) auto 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.7;
}

/* ===== 14. CJK Lang Tweak ===== */
html[data-lang="zh"] body { line-height: 1.85; }
html[data-lang="en"] body { line-height: 1.7; }

/* ===== 14b. Body Prose Font Override（長文 + ≤0.85rem 短附註用 CJK 黑體，≥0.95rem 附註仍 serif，spec list 仍 mono） ===== */
.hero-description,
.persona-card p,
.how-step-body p,
.advanced-entry p,
.feature-cluster-body,
.tipjar-lead,
.features-disclaimer,
.android-request-body,
.privacy-facts-editorial p,
/* 說明書（manual/）內文 —— 比照首頁長文改用 CJK 黑體 */
.man-hero p,
.chap-text p,
.chap-tip span,
.sup-col ul,
.man-end p {
  font-family: var(--font-sans-cjk);
}

/* ===== 15. Responsive ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }
  .hero-visual { order: -1; }
  .hero-text h1 { font-size: 2.4rem; }
  .footer-inner { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .cta-actions { flex-direction: column; }
  .hero-personas { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .privacy-facts-editorial { grid-template-columns: 1fr; gap: var(--space-md); }
}

@media (max-width: 480px) {
  .support-grid { grid-template-columns: 1fr; max-width: 20rem; }
  .header-controls { gap: 0.4rem; }
  .lang-switcher { font-size: 0.75rem; }
}
