/* GEO · enterprise marketing sites (/sites/<slug>/): one stylesheet for all three industry templates; the brand color comes from
   /sites/static/theme-<hex>.css as --brand. System Chinese fonts only (the page policy loads nothing from other hosts). */
:root { --brand: #0e6b5c; --ink: #1b2420; --muted: #5d6a65; --paper: #f6f7f6; --panel: #ffffff; --rule: #dfe5e2; --soft: #eef3f1; --warn: #9a3412; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.top { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 16px; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 17px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 16px; flex: 1; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a[aria-current="page"], .top nav a:hover { color: var(--brand); }
.ask { padding: 6px 14px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-size: 14px; white-space: nowrap; }
.crumbs { max-width: 1040px; margin: 14px auto 0; padding-inline: 16px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 16px; padding-block: 8px 48px; display: grid; gap: 28px; }
h1, h2, h3 { line-height: 1.35; text-wrap: balance; }
h1 { font-size: clamp(26px, 4vw, 38px); margin: 8px 0; }
h2 { font-size: 22px; margin: 0 0 12px; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 6px 0; max-width: 68ch; }
.lead { font-size: 17px; color: #33403b; }
.eyebrow { margin: 0; color: var(--brand); font-size: 13px; letter-spacing: .08em; font-weight: 600; }
.hero { padding-block: 36px 12px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 10px; border: 1px solid var(--brand); background: var(--brand); color: #fff; text-decoration: none; font-size: 15px; cursor: pointer; font-family: inherit; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn:disabled { opacity: .6; cursor: wait; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { display: block; padding: 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); color: var(--ink); text-decoration: none; }
a.card:hover { border-color: var(--brand); }
.prod .more { color: var(--brand); font-size: 14px; }
.price { font-weight: 600; color: var(--ink); }
.badge { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: middle; background: var(--soft); color: var(--brand); }
.badge.b-beta { background: #fff4e5; color: var(--warn); }
.badge.b-planned { background: #f1f1f4; color: #555; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.links a { display: grid; gap: 2px; text-decoration: none; }
.links span { color: var(--muted); font-size: 14px; }
details { border-bottom: 1px solid var(--rule); padding: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
.band { padding: 24px; border-radius: 14px; background: var(--soft); }
.muted { color: var(--muted); font-size: 14px; }
.foot { max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.note { font-size: 13px; color: var(--muted); }
.previewbar { margin: 0; max-width: none; padding: 8px 16px; background: #fff4e5; color: var(--warn); font-size: 14px; text-align: center; }
/* contact form */
form.leadform { display: grid; gap: 10px; max-width: 560px; padding: 20px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
form.leadform label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
form.leadform label.check { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); }
input, select, textarea { width: 100%; padding: 9px 11px; border: 1px solid #cdd6d2; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
label.check input { width: auto; margin-top: 5px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.err { color: var(--warn); }
.done { padding: 20px; border-radius: 12px; background: var(--soft); }
/* chat */
.chat { display: grid; gap: 12px; max-width: 760px; }
.disclose { padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.log { display: grid; gap: 10px; padding: 14px; min-height: 240px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg p { margin: 0; }
.msg.v { justify-self: end; background: var(--brand); color: #fff; }
.msg.a { justify-self: start; background: #f2f5f4; }
.msg.note { background: #fff4e5; color: var(--warn); font-size: 14px; }
.msg.wait { color: var(--muted); }
form.ask { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pulse { box-shadow: 0 0 0 3px rgba(14, 107, 92, .25); }
/* digital card */
.cardpage { display: grid; justify-items: center; padding: 20px 16px 40px; }
.namecard { width: 100%; max-width: 460px; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(20, 40, 34, .08); }
.nc-top { display: flex; gap: 14px; align-items: center; }
.nc-top img { border-radius: 12px; }
.nc-brand { margin: 0; color: var(--brand); font-weight: 700; }
.namecard h1 { font-size: 22px; margin: 2px 0; }
.namecard h2 { font-size: 15px; margin: 18px 0 6px; color: var(--muted); }
.namecard ul { margin: 0; padding-left: 1.2em; }
.nc-qr { margin: 20px 0 8px; display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.sel { user-select: all; }
@media (max-width: 560px) { .top nav { order: 3; flex-basis: 100%; } .msg { max-width: 94%; } form.ask { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.heroimg { margin: 0; }
.heroimg img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; border: 1px solid var(--rule); }
.heroimg figcaption { margin-top: 4px; font-size: 12px; color: var(--muted); }
