:root {
  --background: #fafaf7;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #ffffff;
  --ink: #151515;
  --muted: #606463;
  --line: #d9ddda;
  --line-strong: #c8ceca;
  --mint: #66bba7;
  --mint-soft: #d9f1e9;
  --blue: #8ed5ea;
  --blue-soft: #dceff7;
  --focus: #0f766e;
  --page-width: 1440px;
  --side-padding: clamp(20px, 4.2vw, 64px);
  --shadow: 0 18px 54px rgba(32, 42, 38, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 6%, rgba(142, 213, 234, 0.08), transparent 23rem),
    radial-gradient(circle at 86% 2%, rgba(102, 187, 167, 0.07), transparent 25rem),
    var(--background);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent);
  outline-offset: 4px;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(201, 207, 203, 0.76);
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  max-width: var(--page-width);
  min-height: 82px;
  padding: 0 var(--side-padding);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 48px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 72px;
  height: 52px;
  overflow: hidden;
}

.brand-logo img {
  position: absolute;
  top: -7px;
  left: 2px;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(38px, 7vw, 92px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2px;
  font-size: 1.05rem;
  font-weight: 520;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.card-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--mint);
  border-radius: 8px;
  font-weight: 620;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.card-action a:hover {
  background: var(--mint-soft);
  border-color: #4fae98;
  transform: translateY(-2px);
}

main,
.site-footer {
  width: min(100%, var(--page-width));
  padding-right: var(--side-padding);
  padding-left: var(--side-padding);
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  justify-items: center;
  padding: clamp(42px, 5vw, 72px) 0 clamp(32px, 4vw, 56px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: #258f82;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(2.75rem, 5.35vw, 5rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-copy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  letter-spacing: 0.04em;
}

.hero-mark {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 22px;
  color: #222;
}

.hero-mark svg {
  width: clamp(190px, 21vw, 280px);
  height: auto;
  stroke-width: 1.4;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.06);
}

.dot-mint {
  background: #acd9c7;
}

.dot-blue {
  background: #a4dbec;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 30px);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(180px, 0.9fr);
  grid-template-rows: 1fr auto;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-copy {
  min-width: 0;
  padding: clamp(28px, 3.4vw, 46px) 16px 24px clamp(28px, 3.4vw, 46px);
}

.card-heading {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.card-index {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.card-heading h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  font-weight: 680;
  letter-spacing: -0.04em;
}

.card-copy > p {
  max-width: 440px;
  margin: 24px 0 22px;
  color: #4d5250;
  font-size: clamp(1rem, 1.38vw, 1.15rem);
}

.card-copy > .relay-note {
  margin-top: -10px;
  margin-bottom: 20px;
  color: #737876;
  font-size: 0.8rem;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.62);
  color: #343836;
  font-size: 0.9rem;
  white-space: nowrap;
}

.card-visual {
  display: grid;
  place-items: center;
  align-self: center;
  min-width: 0;
  padding: 30px 30px 30px 0;
  color: #161616;
}

.card-visual svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  stroke-width: 1.45;
}

.relay-visual .dashed {
  stroke-dasharray: 4 6;
}

.card-action {
  grid-column: 1 / -1;
  padding: 14px clamp(28px, 3.4vw, 46px) 18px;
  border-top: 1px solid var(--line);
}

.card-action a {
  justify-content: space-between;
  width: min(260px, 100%);
  padding: 0 22px;
}

.card-action a span {
  font-size: 1.5rem;
  font-weight: 400;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 74px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.trust-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 12px 18px;
  font-weight: 540;
}

.trust-item + .trust-item::before {
  position: absolute;
  top: 21px;
  bottom: 21px;
  left: 0;
  width: 1px;
  content: "";
  background: var(--line);
}

.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: #43a991;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

.contact-section {
  padding: clamp(64px, 8vw, 112px) 0 clamp(46px, 6vw, 80px);
  scroll-margin-top: 96px;
}

.contact-heading {
  max-width: 680px;
  margin: 0 auto clamp(30px, 4vw, 50px);
  text-align: center;
}

.contact-heading .eyebrow {
  margin-bottom: 12px;
}

.contact-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.contact-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

.contact-card {
  padding: clamp(24px, 2.6vw, 38px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-card-heading > span {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.contact-card-heading h3,
.contact-card-heading p {
  margin: 0;
}

.contact-card-heading h3 {
  font-size: 1.3rem;
  line-height: 1.15;
}

.contact-card-heading p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 24px;
}

.qr-item {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
}

.qr-item img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  border: 1px solid #e6e9e7;
  border-radius: 12px;
  background: #f5f6f7;
}

.qr-item figcaption {
  display: grid;
  gap: 3px;
  text-align: center;
}

.qr-item figcaption strong {
  font-size: 0.86rem;
}

.qr-item figcaption span {
  color: #363a38;
  font-family: "Avenir Next", ui-monospace, monospace;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.single-qr {
  padding-top: 24px;
}

.single-qr img {
  max-width: 202px;
}

.business-contact {
  display: flex;
  flex-direction: column;
}

.wechat-contact {
  display: grid;
  justify-items: center;
  margin: auto 0;
  padding: 28px 0 8px;
  text-align: center;
}

.wechat-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #278f78;
}

.wechat-icon svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.7;
}

.contact-kicker {
  color: var(--muted);
  font-size: 0.84rem;
}

.wechat-contact strong {
  margin-top: 5px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
}

.wechat-contact p {
  max-width: 230px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  border-top: 1px solid var(--line);
  color: #3c403f;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 310px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --side-padding: 20px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
  }

  .brand {
    gap: 0;
  }

  .brand-logo {
    width: 58px;
  }

  .brand-logo img {
    left: -2px;
  }

  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .site-nav {
    gap: clamp(18px, 6vw, 36px);
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 42px;
  }

  .eyebrow {
    letter-spacing: 0.27em;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 4.3rem);
    letter-spacing: -0.06em;
  }

  .hero-mark {
    gap: 20px;
  }

  .service-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .card-copy {
    padding: 28px 28px 12px;
  }

  .card-visual {
    padding: 0 28px 18px;
  }

  .card-visual svg {
    max-width: 230px;
  }

  .card-action {
    grid-column: 1;
    padding-right: 28px;
    padding-left: 28px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .trust-item {
    justify-content: flex-start;
    padding: 12px 24px;
  }

  .trust-item + .trust-item::before {
    top: 0;
    right: 24px;
    bottom: auto;
    left: 24px;
    width: auto;
    height: 1px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .membership-contact {
    grid-column: auto;
  }

  .contact-card {
    padding: 26px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 24px;
    padding-bottom: 24px;
  }

}

@media (max-width: 480px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-copy {
    max-width: 18rem;
  }

  .hero-mark .dot {
    width: 13px;
    height: 13px;
  }

  .card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .card-copy > p {
    margin-top: 18px;
  }

  .qr-grid {
    grid-template-columns: 1fr;
  }

  .qr-item img,
  .single-qr img {
    max-width: 230px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
