/* 深圳人月双清科技有限公司：完整的公司信息与清晰的联系入口。 */
:root {
    color-scheme: light;
    --paper: #faf9f6;
    --ink: #21323d;
    --blue: #315d72;
    --muted: #64737e;
    --rule: #dce2e3;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --gutter: clamp(24px, 5vw, 64px);
    --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; line-break: strict; }
h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; }
.nw { white-space: nowrap; }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.icon-library { position: absolute; overflow: hidden; }
.icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 10px 18px; color: #fff; background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* 原生导航在桌面和手机上始终可见。 */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; min-height: 52px; max-width: 100%; flex: none; }
.brand-cn { font-size: 18px; font-weight: 600; letter-spacing: .025em; line-height: 1.5; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #4b5d68; font-size: 14px; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }

/* 适中的标题与真实公司资料并列，首屏有明确的信息层级。 */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); align-items: center; padding-block: 64px; }
.eyebrow { margin-bottom: 20px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.hero h1 { font-size: clamp(44px, 4.3vw, 56px); font-weight: 500; line-height: 1.35; letter-spacing: .025em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero-accent { color: var(--blue); }
.hero-description { max-width: 24em; margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-contact { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; margin-top: 20px; color: var(--blue); font-size: 14px; }
.hero-contact:hover { text-decoration: underline; text-underline-offset: 5px; }
.company-panel { min-width: 0; padding: 30px 32px; border: 1px solid #e1e6e7; border-radius: 12px; background: #fff; }
.company-panel h2 { margin-bottom: 22px; font-size: 18px; font-weight: 500; }
.company-facts > div + div { margin-top: 19px; padding-top: 19px; border-top: 1px solid #edf0f1; }
.company-facts dt { margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.company-facts dd { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }

/* 产品仍为简短入口，具体业务留在产品官网。 */
.product-section { padding-bottom: 40px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-heading h2, .contact-section h2 { font-size: 22px; font-weight: 500; line-height: 1.4; }
.product-link { display: flex; align-items: center; gap: 22px; min-height: 118px; padding: 24px 28px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; transition: border-color .18s, background-color .18s; }
.product-link:hover { border-color: #a9bcc6; background: #fdfefe; }
.product-link img { flex: none; width: 48px; height: 48px; object-fit: contain; }
.product-copy { display: flex; flex-direction: column; min-width: 0; gap: 5px; }
.product-name { font-size: 24px; font-weight: 500; line-height: 1.4; }
.product-description { color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-action { display: inline-flex; align-items: center; flex: none; gap: 14px; margin-left: auto; color: var(--blue); font-size: 13px; }

/* 联系信息独立成区，邮箱允许窄屏换行。 */
.contact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 36px; padding: 30px 32px; border-radius: 10px; background: #edf2f4; }
.contact-section p { margin-top: 8px; color: #5d6d78; font-size: 13px; }
.contact-methods { display: grid; gap: 8px; min-width: 0; }
.contact-link { display: flex; align-items: center; gap: 18px; min-height: 48px; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.03em; }
.contact-phone { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.contact-link > span { min-width: 0; overflow-wrap: anywhere; }
.contact-link .icon { margin-left: auto; color: var(--blue); }
.contact-link:hover { color: var(--blue); }

/* 企业主体与备案入口。 */
.site-footer { margin-top: 48px; padding-bottom: 24px; color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.footer-company p { color: #4b5d68; font-size: 13px; }
.footer-company > span { display: block; margin-top: 6px; font-size: 11px; }
.filing-links { display: flex; flex-direction: column; }
.filing-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.filing-links img { flex: none; width: 18px; height: 18px; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* 404沿用公司导航和信息页脚。 */
.error-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.error-main { display: grid; place-items: center; flex: 1; padding-block: 60px 90px; text-align: center; }
.error-code { color: var(--blue); font-size: clamp(72px, 10vw, 108px); font-weight: 400; line-height: 1.1; letter-spacing: -.05em; }
.error-content h1 { margin-top: 22px; font-size: clamp(26px, 4vw, 36px); font-weight: 500; line-height: 1.4; }
.error-content > p:not(.error-code) { margin-top: 16px; color: var(--muted); font-size: 14px; }
.actions { display: flex; justify-content: center; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 6px; color: #fff; background: var(--ink); font-size: 14px; }
.button:hover { background: var(--blue); border-color: var(--blue); }

@media (max-width: 900px) {
    .hero { gap: 36px; padding-block: 48px; }
    .company-panel { padding: 26px; }
    .contact-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding: 28px; }
    .contact-link { font-size: 21px; }
}
@media (max-width: 680px) {
    :root { --gutter: 24px; }
    .header-inner { flex-direction: column; align-items: flex-start; min-height: 0; gap: 0; padding-block: 12px 8px; }
    .brand { min-height: 44px; }
    .brand-cn { font-size: 16px; }
    .site-nav { gap: 24px; }
    .site-nav a { font-size: 12px; }
    .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
    .eyebrow { margin-bottom: 16px; font-size: 12px; }
    .hero h1 { font-size: clamp(36px, 9.5vw, 44px); line-height: 1.35; }
    .hero-description { margin-top: 18px; font-size: 14px; }
    .hero-contact { margin-top: 14px; font-size: 13px; }
    .company-panel { padding: 20px; }
    .company-panel h2 { margin-bottom: 14px; font-size: 18px; }
    .company-facts > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 12px; }
    .company-facts > div + div { margin-top: 10px; padding-top: 10px; }
    .company-facts dt { margin-bottom: 0; }
    .product-section { padding-bottom: 32px; }
    .section-heading { margin-bottom: 16px; }
    .section-heading h2, .contact-section h2 { font-size: 20px; }
    .product-link { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px 16px; padding: 22px; }
    .product-link img { width: 40px; height: 40px; }
    .product-name { font-size: 22px; }
    .product-description { font-size: 13px; }
    .product-action { grid-column: 2; margin-left: 0; margin-top: 2px; min-height: 32px; font-size: 12px; }
    .product-action .icon { width: 16px; height: 16px; }
    .contact-section { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
    .contact-section p { margin-top: 6px; font-size: 12px; }
    .contact-link { font-size: clamp(17px, 4.8vw, 22px); gap: 10px; }
    .contact-link .icon { width: 18px; height: 18px; }
    .site-footer { margin-top: 36px; font-size: 11px; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
    .footer-inner { display: block; padding-top: 22px; }
    .footer-company { margin-bottom: 12px; }
    .error-main { padding-block: 48px 64px; }
    .error-page .site-footer { margin-top: 0; }
}
@media (max-width: 360px) {
    :root { --gutter: 20px; }
    .contact-section { padding: 20px; }
    .product-link { padding: 20px; gap: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) {
    .button, .company-panel, .product-link, .contact-section { border: 1px solid ButtonText; }
}
