:root {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --text: #1b1f28;
  --muted: #6a7180;
  --line: #e3e7ef;
  --primary: #2f6dff;
  --accent: #00a6a6;
  --shadow: 0 10px 30px rgba(20, 28, 54, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #eaf0ff 0%, transparent 38%), var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 18px 60px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(245, 246, 248, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  letter-spacing: .01em;
}

.brandLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.brandLink img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
  color: #3f4857;
}

.menu a {
  padding: 8px 12px;
  border-radius: 999px;
}

.menu a:hover {
  background: #dbe5ff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 2px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: #2f5dd1;
  font-weight: 600;
}

.breadcrumb-separator {
  color: #a5adbc;
}

.hero {
  margin-top: 18px;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(130deg, #1a2a52, #203b95 46%, #007f80);
  color: #f4f7ff;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.2;
}

.hero p {
  margin: 0;
  color: rgba(244,247,255,.88);
  max-width: 66ch;
}

.meta {
  color: rgba(244,247,255,.82);
  font-size: 14px;
}

.section {
  margin-top: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.section h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.section .desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid #e8ecf4;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
  background: #fff;
  min-height: 148px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  background: #eef4ff;
  color: #3053b3;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 13px;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.outline {
  background: #fff;
  border-color: #cdd6e8;
  color: #2b3550;
}

.btn.ghost {
  border: 0;
  background: #f3f7ff;
}

.notice {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  margin-top: 20px;
  text-align: center;
  color: #7a8397;
  font-size: 13px;
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

.siteFooterBrand {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.siteFooterBrand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.siteFooterBrand p,
.footerContact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footerContact {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 12px;
}

.footerContactLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.footerContactLinks a,
.footerContactLinks span {
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-links a {
  color: #3f4857;
}

.ia-hero {
  margin-top: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 54%, #eef8f1 100%);
  box-shadow: var(--shadow);
}

.ia-hero h1 {
  margin: 4px 0 10px;
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.18;
}

.ia-hero p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.75;
}

.section-head {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-head h2,
.section-head .desc {
  margin: 0;
}

.ia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.ia-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 188px;
  padding: 16px;
  border: 1px solid #e4e8f0;
  border-top: 4px solid var(--card-accent, var(--primary));
  border-radius: 12px;
  background: #fff;
}

.ia-card-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent, var(--primary)) 12%, #ffffff);
  color: var(--card-accent, var(--primary));
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.ia-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.ia-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d8deea;
  border-radius: 999px;
  background: #fff;
  color: #384258;
  font-size: 13px;
  font-weight: 600;
}

.sitemap-tree ul {
  margin: 0;
  padding-left: 18px;
}

.sitemap-tree li {
  margin: 8px 0;
  line-height: 1.6;
}

.sitemap-tree a {
  color: #2f5dd1;
  font-weight: 700;
}

iframe.map-preview {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 14px;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-content: stretch;
  }

  .menu a {
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .hero {
    padding: 24px;
  }

  .ia-hero {
    padding: 22px;
  }

  .section {
    padding: 16px;
  }

  .section-head {
    display: grid;
    gap: 6px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
  }
}
