:root {
  --site-bg: #f4f7f7;
  --site-surface: #ffffff;
  --site-surface-alt: #edf4f4;
  --site-ink: #17313a;
  --site-muted: #58727b;
  --site-accent: #0d6f80;
  --site-accent-strong: #084f5e;
  --site-accent-soft: #d8eced;
  --site-sand: #f0e2cf;
  --site-line: rgba(23, 49, 58, 0.12);
  --site-shadow: 0 18px 40px rgba(10, 49, 64, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f4f7f7 0%, #fcfbf7 100%);
  color: var(--site-ink);
  font-family: "Noto Sans TC", "PingFang TC", sans-serif;
}

a {
  color: var(--site-accent-strong);
}

a:hover {
  color: var(--site-accent);
}

.navbar {
  backdrop-filter: blur(14px);
}

.navbar-brand {
  letter-spacing: 0.02em;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--site-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-section {
  background:
    radial-gradient(circle at top right, rgba(13, 111, 128, 0.12), transparent 36%),
    linear-gradient(180deg, #f3f9fa 0%, #fcfbf7 100%);
}

.hero-card,
.story-card,
.info-card,
.toc-card,
.trust-card,
.faq-item,
.faq-panel,
.timeline-step,
.destination-tile {
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow);
}

.hero-card {
  min-height: 380px;
  padding: 2rem;
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgba(13, 111, 128, 0.92), rgba(8, 79, 94, 0.9)),
    linear-gradient(135deg, #0d6f80, #17313a);
  color: #effbfc;
}

.hero-card-grid {
  display: grid;
  gap: 1rem;
}

.stat-pill,
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mini-chip {
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
  font-weight: 600;
}

.section-shell {
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.72);
}

.section-muted {
  background: linear-gradient(180deg, rgba(216, 236, 237, 0.42), rgba(240, 226, 207, 0.32));
}

.story-card,
.info-card,
.destination-tile,
.trust-card {
  border-radius: 1.5rem;
  height: 100%;
}

.story-card,
.destination-tile {
  display: block;
  padding: 1.5rem;
}

.card-kicker {
  color: var(--site-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 700;
}

.resource-link {
  display: block;
  height: 100%;
  padding: 1.1rem 1.25rem;
  border-radius: 1.2rem;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow);
  color: var(--site-ink);
  text-decoration: none;
}

.resource-link strong {
  display: block;
  margin-bottom: 0.25rem;
}

.destination-band {
  background: linear-gradient(180deg, rgba(240, 226, 207, 0.22), rgba(255, 255, 255, 0.2));
}

.timeline-step {
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
}

.timeline-step strong {
  color: var(--site-accent-strong);
}

.toc-card {
  position: sticky;
  top: 1.5rem;
}

.toc-card a {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--site-muted);
  text-decoration: none;
}

.toc-card a.fw-bold {
  color: var(--site-accent-strong);
}

.faq-item {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  color: var(--site-ink);
  text-align: left;
}

.faq-item[aria-expanded="true"] {
  border-bottom-color: transparent;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 12px 24px rgba(10, 49, 64, 0.04);
}

.faq-item::after {
  content: "+";
  float: right;
  color: var(--site-accent);
  font-weight: 700;
}

.faq-item[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  display: none;
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 0.9rem 1.2rem 1.15rem;
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  color: var(--site-muted);
  box-shadow: 0 10px 20px rgba(10, 49, 64, 0.06);
}

.faq-panel.is-open {
  display: block;
}

.site-footer {
  background: rgba(255, 255, 255, 0.76);
}

.text-muted-site {
  color: var(--site-muted);
}

.list-tight li + li,
.flow-list > * + * {
  margin-top: 0.65rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .toc-card {
    position: static;
  }
}
