:root {
  --ink: #292724;
  --muted: #625e58;
  --line: #e1ddd7;
  --paper: #faf9f6;
  --accent: #b34617;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body, h1, h2, h3, p, ol { margin: 0; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { stroke: none; fill: currentColor; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 30; padding: 8px 18px; background: white; }
.skip:focus { top: 12px; }
.header { position: sticky; z-index: 8; top: 0; background: #fffefc; border-bottom: 1px solid var(--line); }
.header-inner, .brand, .button, .product-heading, .card-action, .footer-brand, .floating-contact { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 68px; gap: 14px; }
.brand { gap: 9px; }
.brand > svg { width: 32px; height: 32px; }
.brand b { font-size: 19px; font-weight: 650; letter-spacing: .025em; }
.button, .card-action { min-height: 42px; gap: 8px; border-radius: 16px; font-size: 14px; font-weight: 550; }
.button { padding: 8px 15px; border: 1px solid #d6d1ca; background: #fff; }
.button:hover, .card-action:hover { background: #eeeae3; }
.button .icon { width: 18px; height: 18px; }
.hero { padding-block: 44px 30px; }
h1 { font-family: "Songti SC", "Noto Serif SC", SimSun, serif; font-size: clamp(34px,4vw,50px); line-height: 1.3; letter-spacing: -.035em; }
.hero p { max-width: 43em; margin-top: 12px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.section h2 { font-size: 21px; font-weight: 650; line-height: 1.4; margin-bottom: 16px; }
.services { padding: 8px 0 36px; }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: 23px; background: #fffefc; }
.product-heading { width: 100%; gap: 12px; }
.logo-frame { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; }
.logo-frame img { display: block; }
.chat { background: #f1efeb; }
.claude { background: #f8ece5; }
.grok { background: #f1f0ed; }
.gemini { background: #eff2f7; }
.product-heading h3 { font-size: 21px; line-height: 1.3; font-weight: 640; letter-spacing: -.025em; }
.product-subtitle { font-size: 12px; margin-top: 2px; line-height: 1.5; color: #726b62; }
.recommended h3 { font-weight: 700; }
.feature-label { margin-left: auto; align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 650; line-height: 1.55; }
.service-highlights { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: -4px 0 16px; padding: 0; list-style: none; color: #59554f; font-size: 12px; }
.service-highlights li { padding: 2px 6px; border: 1px solid #dedbd5; border-radius: 6px; background: #faf9f6; line-height: 1.55; }
.product-description { margin: 15px 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.card-action { margin-top: auto; padding: 7px 13px; background: #f5f2ed; border: 0; }
.card-action .icon { width: 13px; height: 13px; }
.footer { background: #f1efea; border-top: 1px solid #d9d5ce; }
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 20px; padding: 20px 0 15px; }
.footer-brand { gap: 8px; min-height: 44px; font-size: 17px; letter-spacing: .025em; font-weight: 650; }
.footer-brand svg { width: 28px; height: 28px; }
.copyright { border-top: 1px solid #dad6cf; padding: 15px 0 22px; color: var(--muted); font-size: 12px; }
.floating-contact { position: fixed; z-index: 7; right: max(18px,env(safe-area-inset-right)); bottom: calc(19px + env(safe-area-inset-bottom)); justify-content: center; gap: 7px; min-height: 48px; padding: 11px 17px; border: 1.5px solid #55ac72; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 3px 10px #24372b20; font-size: 14px; font-weight: 600; }
.floating-contact:hover { background: #f0faf2; }
.floating-contact .icon { width: 21px; height: 21px; color: #07994a; }
body.dialog-open { overflow: hidden; }
body.dialog-open .floating-contact { visibility: hidden; }
dialog { padding: 0; width: min(375px,calc(100% - 30px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; border: 1px solid #ded9d2; border-radius: 28px; color: var(--ink); background: #fffefc; box-shadow: 0 16px 80px #211c152d; }
dialog::backdrop { background: #25211c75; }
.dialog-content { position: relative; padding: 28px 22px 24px; text-align: center; }
.dialog-close { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; height: 42px; width: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
@media (hover: hover) {
  .dialog-close:hover { background: #f3f0eb; }
}
.dialog-content h2 { margin: 3px 25px 6px; font-size: 23px; font-weight: 650; }
#dialog-title:focus { outline: none; }
#dialog-intro, .qr-help { font-size: 13px; line-height: 1.7; color: var(--muted); }
.qr-panel { width: min(234px,100%); aspect-ratio: 1; margin: 16px auto 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; color: var(--muted); font-size: 13px; }
.qr-panel img { display: block; width: 100%; height: auto; }
.retry { border: 0; background: transparent; padding: 10px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
#qr-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line);
  border-top-color: var(--muted);
  border-radius: 50%;
  animation: qr-spin .8s linear infinite;
}
@keyframes qr-spin {
  to { transform: rotate(1turn); }
}
@media (prefers-reduced-motion: reduce) {
  #qr-spinner { animation: none; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 61px; }
  .hero { padding-block: 27px 21px; }
  .hero p { font-size: 15px; }
  .service-grid { gap: 12px; }
  .service-card { padding: 19px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 6px; }
  .brand > svg { width: 28px; height: 28px; }
  .brand b { font-size: 17px; }
  .button { min-height: 40px; padding-inline: 12px; font-size: 13px; }
  .hero { padding-block: 24px 18px; }
  h1 { font-size: clamp(29px,7.5vw,37px); }
  .hero p { margin-top: 8px; font-size: 14px; line-height: 1.8; }
  .section h2 { font-size: 19px; margin-bottom: 12px; }
  .service-grid { grid-template-columns: 1fr; gap: 11px; }
  .service-card { padding: 17px 18px; border-radius: 21px; }
  .product-heading { gap: 10px; }
  .product-heading h3 { font-size: 20px; }
  .logo-frame { width: 43px; height: 43px; border-radius: 15px; }
  .product-description { margin-block: 12px; }
  .card-action { min-height: 44px; }
  .services { padding-bottom: 26px; }
  .footer-main { padding-block: 12px 9px; gap: 0 12px; }
  .footer-brand { font-size: 15px; gap: 5px; }
  .footer-brand svg { width: 24px; height: 24px; }
  .copyright { padding: 16px 110px calc(25px + env(safe-area-inset-bottom)) 0; font-size: 11px; }
  .floating-contact { right: max(10px,env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 46px; padding: 9px 13px; font-size: 13px; }
  .floating-contact .icon { width: 18px; height: 18px; }
}
