:root {
  color-scheme: light;
  --background: #f7f7f7;
  --card: #ffffff;
  --ink: #191919;
  --muted: #737373;
  --green: #07c160;
  --green-text: #06ae56;
  --green-hover: #06ae56;
  --green-soft: #e8f8ef;
  --blue: #1485ee;
  --blue-soft: #edf5fe;
  --link: #576b95;
  --line: #eeeeee;
  --overlay: #00000066;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--background); color: var(--ink); font: var(--text-base)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; background: var(--card); color: var(--link); padding: 12px 18px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--card); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100% - 48px, 960px); height: 76px; margin: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green); color: var(--card); }
.brand-mark svg { width: 28px; height: 28px; }
.brand strong { font-size: 18px; font-weight: 600; }
.header-link { display: flex; align-items: center; min-height: 44px; font-size: var(--text-sm); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 26px 32px; align-items: start; width: min(100% - 48px, 960px); margin: 0 auto; padding: 38px 0 30px; }
.intro { grid-column: 1; grid-row: 1; padding: 17px 0 9px; }
.service-label { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--green-soft); color: var(--green-text); font-size: var(--text-xs); }
h1 { font-size: 38px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; margin: 17px 0 10px; }
.lead { margin: 0; font-size: 19px; color: var(--ink); }
.intro-note { margin: 14px 0 0; color: var(--muted); font-size: var(--text-sm); }
.contact-card { grid-column: 2; grid-row: 1 / span 3; padding: 27px 30px 23px; background: var(--card); border-radius: 16px; scroll-margin-top: 20px; }
.contact-card > h2 { margin: 0 0 22px; text-align: center; font-size: var(--text-md); font-weight: 600; }
.person { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.person-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: var(--green-soft); color: var(--green-text); font-size: 23px; font-weight: 500; }
.person h3 { margin: 0 0 2px; font-size: var(--text-md); font-weight: 600; }
.person p { margin: 0; color: var(--muted); font-size: var(--text-xs); }
.location { margin-left: auto; color: var(--muted); font-size: var(--text-xs); white-space: nowrap; }
.qr-frame { padding: 10px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.qr-window { position: relative; width: min(100%, 260px); aspect-ratio: 1; margin: auto; overflow: hidden; background: var(--card); }
/* Only the surrounding name-card is cropped; preserve the original QR and its quiet margin. */
.qr { position: absolute; width: 136.666667%; height: auto; max-width: none; left: -18.333333%; top: -58.333333%; }
.qr-caption { margin: 10px 0 15px; color: var(--muted); font-size: var(--text-xs); text-align: center; }
.wechat-number { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 3px 0 16px; }
.wechat-number > span { font-size: var(--text-sm); color: var(--muted); }
.wechat-number strong { font-size: 19px; font-weight: 500; letter-spacing: .02em; user-select: all; }
.primary, .secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border-radius: 8px; font: 600 var(--text-md)/1.45 var(--font); cursor: pointer; text-align: center; }
.primary { border: 0; background: var(--green); color: var(--card); padding: 12px 8px; }
.primary:hover { background: var(--green-hover); }
.primary:active { opacity: .85; }
.secondary { margin-top: 10px; background: var(--background); color: var(--green-text); font-size: var(--text-base); }
.secondary:hover { background: var(--green-soft); }
.identity-note { margin: 15px 0 0; text-align: center; color: var(--muted); font-size: var(--text-xs); line-height: 1.7; }
.services { grid-column: 1; grid-row: 2; }
.section-title { margin: 0 0 12px 12px; color: var(--muted); font-size: var(--text-sm); font-weight: 400; }
.service-list, .help-card { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.service-row { display: flex; align-items: center; gap: 14px; position: relative; padding: 19px 20px; }
.service-row + .service-row::before { content: ""; position: absolute; left: 74px; right: 20px; top: 0; border-top: 1px solid var(--line); }
.service-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; color: var(--green-text); background: var(--green-soft); }
.service-icon svg { width: 24px; height: 24px; }
.service-icon.blue { color: var(--blue); background: var(--blue-soft); }
.service-row h3 { margin: 0 0 4px; font-size: var(--text-base); font-weight: 500; }
.service-row p { margin: 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.8; }
.steps { grid-column: 1; grid-row: 3; }
.help-card { padding: 20px; }
.steps ol { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: baseline; gap: 11px; }
.steps li > span { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; color: var(--green-text); background: var(--green-soft); font-size: var(--text-xs); }
.steps li p { margin: 0; font-size: var(--text-sm); color: var(--muted); }
details { margin-top: 18px; border-top: 1px solid var(--line); font-size: var(--text-sm); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; color: var(--link); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > span { font-size: var(--text-lg); }
details[open] summary > span { transform: rotate(180deg); }
details p { margin: 0 0 12px; color: var(--muted); line-height: 1.9; }
details > a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { padding: 12px 20px 30px; text-align: center; color: var(--muted); font-size: var(--text-xs); }
.site-footer p { margin: 0 0 5px; color: var(--link); }
.toast { position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100vw - 40px); width: max-content; padding: 14px 18px; border-radius: 10px; background: var(--ink); color: var(--card); font-size: var(--text-sm); text-align: center; z-index: 9; }
.toast[hidden] { display: none; }
dialog { width: 340px; max-width: calc(100vw - 48px); padding: 27px; border: 0; border-radius: var(--radius); background: var(--card); color: var(--ink); }
dialog::backdrop { background: var(--overlay); }
dialog h2 { margin: 5px 0 0; font-size: var(--text-lg); text-align: center; }
dialog p { margin: 16px 0; color: var(--muted); font-size: var(--text-sm); }
dialog input { width: 100%; margin-bottom: 20px; padding: 12px; border: 0; border-radius: 8px; background: var(--background); color: var(--ink); font-size: var(--text-lg); text-align: center; user-select: all; }
.dialog-close { position: absolute; right: 7px; top: 7px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 24px; cursor: pointer; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
@media (max-width: 839px) {
  .header-inner { width: min(100% - 40px, 480px); height: 62px; }
  .brand { gap: 9px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand strong { font-size: var(--text-md); }
  .layout { display: flex; flex-direction: column; width: min(100% - 32px, 480px); padding: 24px 0 20px; gap: 20px; }
  .intro, .contact-card, .services, .steps { width: 100%; }
  .intro { padding: 0 4px 4px; text-align: center; }
  .service-label { font-size: 11px; }
  h1 { margin: 12px 0 6px; font-size: 28px; }
  .lead { font-size: var(--text-base); }
  .intro-note { margin-top: 9px; font-size: var(--text-xs); }
  .contact-card { padding: 22px 24px 20px; border-radius: var(--radius); }
  .contact-card > h2 { margin-bottom: 19px; }
  .person { margin-bottom: 16px; }
  .qr-window { width: min(100%, 240px); }
  .qr-frame { padding: 7px 0; }
  .qr-caption { margin: 9px 0 13px; font-size: 11px; }
  .wechat-number { padding-bottom: 15px; }
  .identity-note { font-size: 11px; }
  .service-row { padding: 17px 18px; gap: 12px; }
  .service-row + .service-row::before { left: 70px; right: 18px; }
  .service-row p { font-size: 11px; }
}
@media (max-width: 359px) {
  .contact-card { padding: 20px; }
  .intro-note { font-size: 11px; }
  .person { gap: 10px; }
  .person p { font-size: 11px; }
  .wechat-number strong { font-size: 18px; }
  .service-icon { width: 36px; height: 36px; }
  .service-row { gap: 10px; padding: 16px; }
  .service-row + .service-row::before { left: 62px; right: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .primary, .secondary { transition: background .15s ease, opacity .15s ease; }
}
