/* 早睡 (EarlyZ) 公共层：变量 / reset / 顶栏 / 页脚 —— 自动生成 by scripts/split_css.py，请勿手改 */

:root { --navy: #12131f; --ink: #161a2c; --muted: #636a7d; --paper: #f7f8fb; --white: #ffffff; --line: #e4e7ef; --accent: #494bd6; --accent-dark: #5e60e0; --teal: #168e88; --danger: #b54747; --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; --shadow: 0 22px 60px rgba(16, 20, 38, .13); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--ink); background: var(--white); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.utility { color: #d5d9e8; background: var(--navy); font-size: 12px; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-note { display: flex; align-items: center; gap: 8px; }
.utility-note i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #60d5bd; }
.utility-links { display: flex; gap: 22px; color: #aeb5ca; }
.utility-links a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { height: 76px; display: flex; align-items: center; gap: 42px; }
.brand { min-width: 218px; display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 35px; height: 42px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { color: var(--ink); font-size: 19px; font-weight: 750; letter-spacing: .01em; }
.brand-desc { margin-top: 4px; color: var(--muted); font-size: 11px; }
.nav-links { flex: 1; display: flex; align-items: center; gap: 32px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-download { padding: 10px 17px; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; background: var(--accent); color: #fff; border-radius: 5px; font-weight: 650; }
.menu-toggle { display: none; padding: 8px; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 23px; height: 2px; content: ""; background: var(--accent); }
.footer-main { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 48px; padding: 66px 0 55px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer-brand img { width: 30px; height: 35px; object-fit: contain; }
.footer-brand span { font-size: 17px; }
.footer-summary { max-width: 260px; margin-top: 16px; color: #8f97ad; font-size: 13px; line-height: 1.85; }
.footer-links { margin-top: 13px; }
.footer-links a { display: block; padding: 4px 0; color: #969eb4; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2d3349; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 25px; padding: 18px 0 22px; color: #818aa6; font-size: 12px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 980px) {
  .container { width: min(100% - 42px, 760px); }
  .nav { gap: 20px; }
  .brand { min-width: 190px; }
  .nav-links { gap: 19px; }
  .nav-help { display: none; }
  .footer-main { gap: 28px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 540px); }
  .utility-links { display: none; }
  .utility-inner { min-height: 31px; }
  .site-header { position: relative; }
  .nav { height: 68px; justify-content: space-between; }
  .brand { min-width: 0; }
  .brand img { width: 30px; height: 37px; }
  .brand-name { font-size: 17px; }
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open .nav-links { position: absolute; top: 68px; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 9px 145px 13px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 22px rgba(16, 20, 38, .08); }
  .site-header.menu-open .nav-links a { padding: 11px 0; border-bottom: 1px solid #f0f1f5; }
  .site-header.menu-open .nav-actions { position: absolute; top: 68px; right: 16px; z-index: 2; display: flex; transform: none; }
  .site-header.menu-open .nav-download { padding: 8px 13px; font-size: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 37px 24px; padding: 48px 0 38px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom-inner { display: block; line-height: 1.8; }
  .footer-legal { margin-top: 4px; }
}
