/* 晴玖云商城官网主页 · 方案 C（发布会质感，中文字号精修） */
:root {
    --h-bg: #ffffff;
    --h-parch: #f5f5f7;
    --h-pearl: #fafafc;
    --h-ink: #1d1d1f;
    --h-ink80: #333336;
    --h-ink48: #6e6e73;
    --h-line: #e0e0e0;
    --h-line-soft: #f0f0f0;
    --h-blue: #0071e3;
    --h-blue-press: #0062c3;
    --h-link: #0066cc;
    --h-link-dark: #2997ff;
    --h-ok: #1a7f37;
    --h-ok-bg: #eaf6ec;
    --h-bad: #c9341c;
    --h-bad-bg: #fdecea;
    --h-font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
    --h-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
html, body { margin: 0; }
body {
    font-family: var(--h-font);
    color: var(--h-ink);
    background: var(--h-bg);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type scale tuned for CJK: 48 / 32 / 19 / 17 */
h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; font-weight: 600; letter-spacing: -0.022em; margin: 0 0 14px; }
h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.18; font-weight: 600; letter-spacing: -0.018em; margin: 0 0 10px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.lead { font-size: 19px; line-height: 1.5; color: var(--h-ink80); margin: 0 auto 28px; max-width: 600px; }
.sub { font-size: 17px; color: var(--h-ink48); margin: 0; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; color: #bf4800; margin-bottom: 12px; }
.more { color: var(--h-link); font-size: 15px; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
.more-dark { color: var(--h-link-dark); }

/* Buttons */
.pill {
    display: inline-flex; align-items: center; justify-content: center;
    height: 30px; padding: 0 14px; border-radius: 999px; border: 0;
    font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer;
    transition: background-color .15s ease;
}
.pill-blue { background: var(--h-blue); color: #fff; }
.pill-blue:hover { background: var(--h-blue-press); }
.pill-dark { background: var(--h-ink); color: #fff; }
.pill-dark:hover { background: #000; }
.pill-lg { height: 40px; padding: 0 22px; font-size: 15px; }
.pill-md { height: 36px; padding: 0 18px; font-size: 14px; }
.pill:focus-visible, .more:focus-visible, .seg button:focus-visible, .nav a:focus-visible { outline: 2px solid var(--h-blue); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: 52px; background: rgba(251, 251, 253, .82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.logo { width: 22px; height: 22px; border-radius: 6px; background: var(--h-ink); display: grid; place-items: center; }
.logo svg { width: 13px; height: 13px; color: #fff; }
.links { display: flex; gap: 28px; font-size: 13px; color: var(--h-ink80); }
.links a:hover { color: var(--h-ink); }
.acts { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.nav-link { color: var(--h-ink80); }
.nav-link:hover { color: var(--h-ink); }
.chip { display: flex; align-items: center; gap: 8px; color: var(--h-ink80); max-width: 240px; }
.chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { width: 26px; height: 26px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #ffb340, #ff375f); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.role { flex: none; font-size: 11px; color: var(--h-ink48); border: 1px solid var(--h-line); border-radius: 999px; padding: 1px 7px; }

/* Hero */
.hero { background: var(--h-parch); text-align: center; padding: 88px 0 0; overflow: hidden; }
.cta { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.stats { display: flex; justify-content: center; gap: 56px; margin-top: 44px; padding-bottom: 56px; }
.stats b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.stats span { font-size: 12px; color: var(--h-ink48); }

/* Query center */
.qc { background: var(--h-bg); border-radius: 22px 22px 0 0; max-width: 880px; margin: 0 auto; padding: 30px 32px 36px; box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 -18px 40px rgba(0, 0, 0, .04); text-align: left; }
.qc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.qc-title { font-size: 19px; margin: 0; letter-spacing: -0.01em; }
.qc-head p { margin: 2px 0 0; font-size: 13px; color: var(--h-ink48); }
.secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--h-ink48); white-space: nowrap; }
.secure svg { width: 14px; height: 14px; }
.seg { display: inline-flex; background: var(--h-parch); border-radius: 10px; padding: 3px; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--h-ink80); padding: 7px 16px; border-radius: 8px; cursor: pointer; }
.seg button.on { background: #fff; color: var(--h-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); font-weight: 500; }
.qrow { display: flex; gap: 10px; margin: 0; }
.qrow input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--h-line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 15px; outline: none; background: #fff; color: var(--h-ink); }
.qrow input:focus { border-color: var(--h-blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .15); }
.qrow .pill { height: 46px; padding: 0 28px; font-size: 15px; border-radius: 12px; }
.qrow .pill[disabled] { opacity: .6; cursor: default; }
.hint { font-size: 12px; color: var(--h-ink48); margin-top: 10px; min-height: 18px; }
.hint.is-error { color: var(--h-bad); }
.res { margin-top: 16px; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--h-line-soft); background: var(--h-pearl); }
.res-body b { display: block; font-size: 15px; word-break: break-all; }
.res-body p { margin: 2px 0 0; font-size: 13px; color: var(--h-ink48); }
.badge { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-top: 1px; }
.b-ok { background: var(--h-ok-bg); color: var(--h-ok); }
.b-bad { background: var(--h-bad-bg); color: var(--h-bad); }

/* Sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--h-parch); }
.center { text-align: center; }
.center .sub { max-width: 560px; margin: 0 auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.tile { background: var(--h-parch); border-radius: 18px; padding: 30px 28px; text-align: left; }
.alt .tile { background: #fff; }
.tile .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.tile .ic svg { width: 19px; height: 19px; }
.tile p { margin: 0 0 14px; color: var(--h-ink80); font-size: 14.5px; }
.tile p:last-child { margin-bottom: 0; }
.tile ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--h-ink48); }
.tile .n { font-family: var(--h-mono); font-size: 12px; color: var(--h-ink48); margin-bottom: 14px; }

.rel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.rel .sub { margin-bottom: 20px; }
.rel-card { background: var(--h-parch); border-radius: 18px; padding: 6px 24px 14px; }
.rel-card .top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--h-line); }
.tag { font-family: var(--h-mono); font-size: 12px; color: var(--h-ink48); }
.rel-card ul { margin: 0; padding: 0; list-style: none; }
.rel-card li { padding: 11px 0; border-bottom: 1px solid var(--h-line); font-size: 14px; color: var(--h-ink80); }
.rel-card li:last-child { border-bottom: 0; }

.sec-tail { padding: 0 0 96px; }
.dark { background: #000; color: #f5f5f7; border-radius: 22px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.dark h2 { margin: 0; }
.dark p { margin: 6px 0 0; color: #a1a1a6; font-size: 15px; }
.dark-acts { display: flex; align-items: center; gap: 22px; flex: none; }

footer { background: var(--h-parch); color: var(--h-ink48); font-size: 12px; padding: 28px 0 40px; border-top: 1px solid var(--h-line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a:hover { color: var(--h-ink); }

/* Slider modal: only the self-hosted puzzle is offered on the homepage */
.qj-slider-actions .qj-slider-refresh + .qj-slider-refresh { display: none; }

@media (max-width: 860px) {
    .links { display: none; }
    .grid3, .rel { grid-template-columns: 1fr; }
    .dark { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
    .stats { gap: 28px; }
    .qc { padding: 24px 18px 28px; border-radius: 18px 18px 0 0; }
    .qc-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .sec { padding: 72px 0; }
    .hero { padding-top: 64px; }
}
@media (max-width: 480px) {
    .wrap { padding: 0 16px; }
    .chip-name, .role { display: none; }
    .qrow { flex-direction: column; }
    .qrow input { flex: none; width: 100%; }
    .qrow .pill { width: 100%; }
    .seg { display: flex; }
    .seg button { flex: 1; padding: 7px 8px; }
    .stats { gap: 18px; }
    .stats b { font-size: 20px; }
    .lead { font-size: 17px; }
}
