:root {
  /* 与 App AppTheme 同款青色：primary #1BE5C7 / primaryDark #15C4AA */
  --bg: #0a3d38;
  --bg-mid: #0f4f48;
  --bg-soft: #157a6e;
  --surface: #f3fbf9;
  --ink: #000000;
  --muted: #707476;
  --accent: #1be5c7;
  --accent-active: #26e6c9;
  --accent-deep: #15c4aa;
  --accent-soft: #e8fbf8;
  --line: rgba(0, 0, 0, 0.08);
  --white: #ffffff;
  --max: 920px;
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(27, 229, 199, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(21, 196, 170, 0.14), transparent 50%),
    linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 42%, #eef5f8 100%);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  padding: 1.25rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-deep);
}

/* ── Hero ── */
.hero {
  position: relative;
  margin: 0.5rem 0 3rem;
  padding: 4.5rem 0 4rem;
  border-radius: 0;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 61, 56, 0.94) 0%, rgba(15, 79, 72, 0.9) 42%, rgba(27, 229, 199, 0.72) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.06' d='M0 60h120M60 0v120'/%3E%3C/svg%3E");
  background-size: cover, 48px 48px;
  animation: hero-in 0.9s ease both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.05;
  animation: rise 0.8s 0.1s ease both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 16em;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  animation: rise 0.8s 0.2s ease both;
}

.hero-lead {
  margin: 0;
  max-width: 34em;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  animation: rise 0.8s 0.3s ease both;
}

/* ── Sections ── */
.section {
  padding: 2.75rem 0;
  animation: rise 0.7s ease both;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-intro {
  margin: 0 0 1.75rem;
  max-width: 38em;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-list li {
  padding: 0;
}

.feature-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Service info ── */
.service-grid {
  display: grid;
  gap: 1rem 2rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-item dt {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.service-item dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 550;
}

.service-item a {
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 229, 199, 0.55);
}

/* ── Legal pages ── */
.legal-hero {
  padding: 2.5rem 0 1.5rem;
}

.legal-hero h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
}

.legal-meta {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-body {
  padding-bottom: 3rem;
}

.legal-body h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
}

.legal-body p,
.legal-body li {
  color: var(--ink);
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-body li + li {
  margin-top: 0.35rem;
}

/* ── Footer ── */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

.footer-copy {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.footer-meta {
  margin: 0;
  line-height: 1.65;
}

.footer-sep {
  margin: 0 0.45rem;
  color: var(--line);
}

.beian-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(112, 116, 118, 0.35);
}

.beian-link:hover {
  color: var(--accent-deep);
  border-bottom-color: rgba(27, 229, 199, 0.55);
}

.site-footer a[href^="tel:"],
.site-footer a[href^="mailto:"] {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(112, 116, 118, 0.35);
}

.site-footer a[href^="tel:"]:hover,
.site-footer a[href^="mailto:"]:hover {
  color: var(--accent-deep);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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