﻿:root {
  --ink: #16323b;
  --muted: #5f7480;
  --line: #dce8e9;
  --paper: #ffffff;
  --soft: #f3f9f8;
  --teal: #177c82;
  --teal-dark: #0f5e65;
  --mint: #dff4ee;
  --yellow: #ffe7a7;
  --orange: #e58745;
  --blue: #dbeeff;
  --shadow: 0 18px 50px rgba(18, 65, 72, 0.12);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbfb;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a,
.nav-menu-button,
.nav-toggle {
  padding: 9px 12px;
  border-radius: 8px;
  color: #2e535d;
  font-size: 15px;
}

.site-nav a:hover,
.nav-menu-button:hover,
.nav-group.open .nav-menu-button {
  background: var(--mint);
  color: var(--teal-dark);
}

.nav-group {
  position: relative;
}

.nav-menu-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-menu-button::after {
  content: "▾";
  margin-left: 6px;
  font-size: 12px;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group.open .nav-menu {
  display: block;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: calc(100vh - 72px);
  padding: clamp(36px, 6vw, 78px) clamp(18px, 5vw, 72px) 36px;
  background:
    linear-gradient(90deg, rgba(247, 251, 251, 0.96), rgba(247, 251, 251, 0.72) 48%, rgba(247, 251, 251, 0.25)),
    var(--soft);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  color: #385963;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.notice {
  max-width: 680px;
  padding: 14px 16px;
  color: #506871;
  background: #fff8e6;
  border: 1px solid #f5d98f;
  border-radius: 8px;
  font-size: 15px;
}

.hero-image {
  align-self: center;
  min-height: 0;
  aspect-ratio: 1750 / 899;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf7f4;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  transform: translateY(-18px);
}

.quick-links a {
  padding: 18px 20px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 800;
  text-align: center;
}

.quick-links a:hover {
  background: var(--mint);
}

.section {
  padding: clamp(54px, 7vw, 90px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.info-list article,
.role-grid article,
.score-grid article,
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(18, 65, 72, 0.06);
}

.card {
  padding: 24px;
}

.card p,
.info-list p,
.role-grid li,
.score-grid p,
details p {
  color: var(--muted);
}

.card ul,
.role-grid ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.tag.calm {
  color: #0f5e65;
  background: var(--mint);
}

.tag.warm {
  color: #79510d;
  background: var(--yellow);
}

.tag.fresh {
  color: #275b84;
  background: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 72px);
}

.split.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.split.reverse .section-heading {
  order: 2;
}

.sticky-heading {
  position: sticky;
  top: 96px;
  align-self: start;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list article {
  padding: 22px;
}

.info-list h3 a,
.card h3 a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
}

.info-list h3 a:hover,
.info-list h3 a:focus-visible,
.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--teal);
  text-decoration-color: currentColor;
}

.highlight {
  background: #eaf7f4;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.score-grid article {
  padding: 24px;
  border-color: #c8dfdf;
}

.score-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.role-grid article {
  padding: 24px;
}

.compact .card {
  min-height: 210px;
}

.compare-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--teal-dark);
  background: var(--mint);
}

tr:last-child td {
  border-bottom: 0;
}

.score-note {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.score-note li {
  color: var(--muted);
  line-height: 1.7;
}

.score-note strong {
  color: var(--teal-dark);
}

.timeline-section {
  background: #fff;
}

.timeline {
  display: grid;
  gap: 18px;
  max-width: 1080px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  background: linear-gradient(90deg, #f8fcfc 0, #fff 100%);
}

.timeline span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border-radius: 8px;
  color: var(--orange);
  background: #fff7e9;
  font-size: 24px;
  font-weight: 900;
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.timeline-entry {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(18, 126, 132, 0.14);
  border-radius: 8px;
  background: #fff;
}

.timeline-entry:only-child {
  grid-column: 1 / -1;
}

.timeline-entry small {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.timeline-entry a,
.timeline-entry strong {
  display: block;
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
  text-decoration: none;
}

.timeline-entry a:hover {
  color: var(--orange);
}

.timeline-entry p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

details {
  padding: 0 20px;
}

summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 900;
}

summary::marker {
  color: var(--teal);
}

details p {
  margin-bottom: 20px;
}

.updates-section {
  padding-top: 42px;
  padding-bottom: 42px;
  background: #f8fcfc;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 1080px;
}

.update-list article {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18, 65, 72, 0.04);
}

.update-list time {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.update-list h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.update-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.compact-heading {
  margin-bottom: 18px;
}

.downloads {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  color: #fff;
  background: var(--teal-dark);
}

.downloads .eyebrow,
.downloads p {
  color: #dff4ee;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.download-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 82px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.download-grid span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 8px;
  color: #17353c;
  background: var(--yellow);
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #5d747d;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .cards.three,
  .score-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .split,
  .split.reverse,
  .downloads {
    grid-template-columns: 1fr;
  }

  .split.reverse .section-heading {
    order: 0;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-group {
    width: 100%;
  }

  .nav-menu-button {
    width: 100%;
    padding: 12px;
    text-align: left;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    margin: 2px 0 8px;
    padding: 6px;
    box-shadow: none;
  }

  .nav-group:hover .nav-menu {
    display: none;
  }

  .nav-group.open .nav-menu,
  .nav-group:focus-within .nav-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-image,
  .hero-image img {
    min-height: 260px;
  }

  .quick-links,
  .cards.three,
  .score-grid,
  .role-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .quick-links {
    transform: none;
    margin-top: 18px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
  }

  .timeline-items {
    grid-template-columns: 1fr;
  }

  .timeline-entry {
    min-height: auto;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .update-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal-dark);
  font-weight: 900;
}

.feature-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid #c8dfdf;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(18, 65, 72, 0.06);
}

.feature-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #eaf7f4 0%, #f9fcfc 62%, #fff8e6 100%);
}

.page-hero .lead {
  max-width: 880px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.breadcrumb a {
  color: var(--teal-dark);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
}

.detail-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

.detail-nav a:hover {
  background: var(--mint);
}

.detail-content {
  display: grid;
  gap: 54px;
}

.detail-section > h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-list span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .detail-nav {
    grid-template-columns: 1fr;
  }
}
