:root {
  color-scheme: light;
  --ink: #202d27;
  --muted: #656e66;
  --green: #28553e;
  --line: #e6e9e2;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f3f4ee;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 32px;
  padding: 64px 32px 36px;
}
.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 940px;
  padding: 64px;
  background: #fff;
  border: 1px solid #e1e6dc;
  border-radius: 28px;
  box-shadow: 0 12px 40px -28px #304b3338;
}
.contact-info { min-width: 0; padding-right: 44px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 23px;
  font-size: 13px;
  letter-spacing: .12em;
  color: #58695d;
}
.eyebrow span { width: 7px; height: 7px; background: #67856a; border-radius: 50%; }
h1 { margin: 0; font-size: clamp(48px, 5vw, 68px); line-height: 1.15; font-weight: 650; letter-spacing: -.055em; white-space: nowrap; }
.name-period { color: #71916b; margin-left: 3px; }
.wechat-details { margin-top: 48px; }
.wechat-details label { display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
#wechat-id {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 3px;
  padding: 8px 0;
  margin: 0 0 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.04em;
  color: var(--ink);
  background: transparent;
  cursor: text;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  transition: background-color .18s, transform .18s;
}
.copy-button[hidden] { display: none; }
.copy-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copy-button:hover { background: #1b402d; }
.copy-button:active { transform: translateY(1px); }
.copy-status { margin: 10px 0 0; min-height: 18px; font-size: 12px; line-height: 1.5; color: var(--green); }
.service-jump { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 7px; color: var(--green); font-size: 13px; text-decoration: none; }
.service-jump span { font-size: 18px; }
.service-jump:hover { text-decoration: underline; text-underline-offset: 4px; }
.membership-card { width: 100%; max-width: 940px; padding: 40px; background: #fff; border: 1px solid #e1e6dc; border-radius: 28px; scroll-margin-top: 24px; }
.membership-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.membership-heading .eyebrow { margin-bottom: 12px; }
.membership-heading h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 650; line-height: 1.3; letter-spacing: -.035em; }
.membership-summary { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.poster-download { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--green); font-size: 13px; text-decoration: none; }
.poster-download svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.poster-download:hover { background: #f1f6ef; border-color: #a5b8a2; }
.membership-poster { margin: 0; padding: 24px 24px 14px; background: #f3f7f1; border-radius: 18px; text-align: center; }
.poster-view { display: block; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.poster-view img { display: block; width: 100%; height: auto; }
.membership-poster figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.membership-price-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.membership-price-note a { color: var(--green); text-underline-offset: 3px; }
.membership-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 20px; }
.membership-contact p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.membership-contact a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 44px; color: var(--green); font-size: 13px; text-decoration: none; }
.membership-contact a span:first-child { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.membership-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card { scroll-margin-top: 24px; }
.qr-panel { border-left: 1px solid var(--line); padding-left: 44px; text-align: center; }
.qr-frame { padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.qr-crop { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; }
/* Show the QR and its quiet zone; the original image is served and downloaded unchanged. */
.wechat-qr { position: absolute; max-width: none; width: 136.666667%; height: auto; left: -18.333333%; top: -58.333333%; }
.qr-caption { margin: 21px 0 2px; font-size: 14px; color: #4b574e; }
.save-qr { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 8px; font-size: 12px; color: var(--muted); text-decoration: none; }
.save-qr svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.save-qr:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid #638764; outline-offset: 5px; }
footer { min-height: 76px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px 20px; padding: 18px 24px 28px; font-size: 11px; color: #687063; line-height: 1.7; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  main { padding: 32px 24px 12px; }
  .contact-card { max-width: 430px; grid-template-columns: 1fr; padding: 36px 32px 24px; border-radius: 24px; }
  .contact-info { padding: 0; }
  .eyebrow { margin-bottom: 17px; font-size: 12px; }
  h1 { font-size: 52px; }
  .wechat-details { margin-top: 30px; }
  #wechat-id { font-size: 23px; margin-bottom: 14px; }
  .copy-button { width: 100%; }
  .qr-panel { padding: 24px 0 0; margin-top: 12px; border-left: 0; border-top: 1px solid var(--line); }
  .qr-frame { width: min(100%, 258px); margin: 0 auto; border-radius: 18px; }
  .qr-caption { margin-top: 17px; }
  main { gap: 24px; }
  .membership-card { max-width: 430px; padding: 28px 20px 18px; border-radius: 24px; }
  .membership-heading { display: block; margin-bottom: 20px; }
  .membership-heading h2 { font-size: 25px; }
  .poster-download { margin-top: 16px; }
  .membership-poster { padding: 10px 10px 12px; border-radius: 14px; }
  .membership-contact { display: block; margin-top: 18px; }
  .membership-contact a { margin-top: 4px; }
}
@media (max-width: 360px) {
  main { padding: 20px 16px 8px; }
  .contact-card { padding: 28px 24px 18px; border-radius: 20px; }
  h1 { font-size: 46px; }
  #wechat-id { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
