:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -12rem, rgba(255, 255, 255, 0.95) 0, transparent 34rem),
    #f5f5f7;
}

.page-shell {
  width: min(100% - 2.5rem, 46rem);
  margin: 0 auto;
  padding: clamp(5rem, 14vh, 9rem) 0;
}

.site-title {
  margin: 0 0 1.25rem;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.site-title,
.detail-title {
  font-size: clamp(1.85rem, 4.5vw, 2.8rem);
}

.bio {
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.02em;
}

.wechat-id {
  white-space: nowrap;
}

.wechat-line {
  display: block;
}

.service-list {
  overflow: hidden;
  padding: 0 1.75rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 1.5rem;
  box-shadow:
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.03),
    0 1.5rem 4rem rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.service-item {
  border-bottom: 1px solid #e5e5e7;
}

.service-item:last-child {
  border-bottom: 0;
}

.service-item h3 {
  margin: 0;
}

.service-link {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 1.35rem 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.service-title {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
  transition: color 160ms ease;
}

.service-action {
  min-width: 3.5rem;
  padding: 0.38rem 0.7rem;
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  background: #f2f2f4;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.service-link:hover .service-title {
  color: #0071e3;
}

.service-link:hover .service-action {
  color: #ffffff;
  background: #0071e3;
}

.service-link:focus-visible,
.back-link:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.42);
  outline-offset: 3px;
  border-radius: 0.65rem;
}

.detail-shell {
  width: min(100% - 2.5rem, 46rem);
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 7rem) 0;
}

.back-link {
  display: inline-block;
  margin-bottom: clamp(3.5rem, 9vw, 6rem);
  color: #0071e3;
  font-size: 0.95rem;
  text-decoration: none;
}

.detail-title {
  margin: 0 0 1.5rem;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.detail-description {
  max-width: 38rem;
  margin: 0;
  color: #6e6e73;
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  line-height: 1.7;
}

@media (max-width: 36rem) {
  .page-shell {
    width: min(100% - 2rem, 46rem);
    padding: 4.5rem 0;
  }

  .detail-shell {
    width: min(100% - 2rem, 46rem);
    padding: 3.5rem 0;
  }

  .bio {
    margin-bottom: 2.25rem;
  }

  .service-list {
    padding: 0 1.25rem;
    border-radius: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
