:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: #fff;
  background: #182b79;
  border-radius: 0.4rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero__eyebrow {
  margin-bottom: 0.5rem;
  color: #294ace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__summary,
.section-intro {
  max-width: 46rem;
  margin-right: auto;
  margin-left: auto;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.cta-link {
  display: inline-flex;
  border-radius: 0.45rem;
}

.cta-link img {
  border-radius: 0.45rem;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.25rem;
  padding: 1rem 5%;
}

.section-nav a {
  color: #294ace;
  font-weight: 700;
  text-decoration: none;
}

.section-nav a:hover {
  text-decoration: underline;
}

section[id] {
  scroll-margin-top: 1rem;
}

.platform-grid {
  align-items: stretch;
  justify-content: center;
  margin-top: 2rem;
}

.platform-card {
  display: flex;
  min-width: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  border-radius: 0.75rem;
  background: #fff;
}

.platform-card p {
  color: #262b3a;
  font-weight: 700;
}

.consult-list {
  padding-left: 1.4rem;
}

.consult-list li {
  margin-bottom: 0.55rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid #d7dbea;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgb(38 43 58 / 8%);
}

.price {
  margin: 1rem 0;
  color: #294ace;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 700;
}

.faq-list {
  max-width: 50rem;
  margin: 1.5rem auto 0;
}

.faq-list details {
  margin-bottom: 0.75rem;
  border: 1px solid #d7dbea;
  border-radius: 0.75rem;
  background: #fff;
}

.faq-list summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 700;
}

.faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
}

.review-image {
  display: block;
  margin: 1rem auto;
}

.site-footer {
  padding: 1.5rem 0;
  color: #55607d;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0.3rem 0;
}

@media screen and (max-width: 40em) {
  .cta-group .btn {
    width: auto;
    margin-top: 0;
  }

  .platform-card {
    min-width: calc(50% - 1.6rem);
    flex-basis: calc(50% - 1.6rem);
  }

  .service-card {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
