/* 北京上宜科技有限公司 官网 — www.parameter.top */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #2457d6;
  --accent-dark: #1b46bd;
  --accent-ink: #ffffff;
  --accent-soft: #eaf0ff;
  --footer-bg: #0f172a;
  --footer-ink: #cbd5e1;
  --max: 1080px;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  padding: 8px 12px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
}
.skip:focus { left: 8px; }

/* 页头 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name small { font-size: 10.5px; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.lang-switch {
  margin-left: 8px; padding: 6px 12px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  color: var(--accent); border: 1px solid var(--line); border-radius: 999px;
}
.lang-switch:hover { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }

/* 首屏 */
.hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
}
.eyebrow { margin: 0 0 16px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--accent); }
.hero h1 { margin: 0 0 20px; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.15; letter-spacing: -.01em; }
.lede { margin: 0 0 24px; max-width: 720px; font-size: 18px; color: var(--ink-2); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; font-size: 14px; color: var(--muted); }
.hero-meta span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px;
  border-radius: 50%; background: var(--accent); vertical-align: middle;
}

/* 区块 */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
h2 { margin: 0 0 14px; font-size: 28px; letter-spacing: -.01em; }
h3 { margin: 0 0 8px; font-size: 19px; }
.section-lede { margin: 0 0 32px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1.2fr .9fr; gap: 56px; align-items: start; }
.two-col p { margin: 0 0 16px; color: var(--ink-2); }

.facts {
  margin: 0; padding: 8px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.facts > div {
  display: grid; grid-template-columns: 140px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  padding: 24px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.card p { margin: 0; font-size: 15px; color: var(--ink-2); }
.card .num {
  display: inline-block; margin-bottom: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent);
}

/* 产品 */
.product {
  display: grid; grid-template-columns: 112px 1fr; gap: 28px; align-items: start;
  padding: 28px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.app-tile {
  display: flex; align-items: center; justify-content: center;
  width: 112px; height: 112px; border-radius: 26px;
  font-size: 54px; font-weight: 700; color: #fff;
  background: linear-gradient(145deg, #3b6cf0, #1f46b8);
  box-shadow: 0 12px 30px rgba(36, 87, 214, .25);
}
.product h3 small { margin-left: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.product p { margin: 0 0 18px; max-width: 720px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.tags li {
  padding: 4px 10px; font-size: 13px; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
}
.button {
  display: inline-block; padding: 11px 18px; border-radius: 10px;
  font-weight: 600; color: var(--accent-ink); background: var(--accent);
}
.button:hover { background: var(--accent-dark); text-decoration: none; }

/* 联系 */
address {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  max-width: 760px; font-style: normal;
}
.contact-item {
  padding: 20px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-item h3 { margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--muted); }
.contact-item p { margin: 0; }

/* 页脚 */
.site-footer { padding: 40px 0 48px; font-size: 14px; color: var(--footer-ink); background: var(--footer-bg); }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: #fff; }
.icp { margin-top: 12px; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-row { gap: 14px; }
  .nav { display: none; }
  .lang-switch { margin-left: auto; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .app-tile { width: 84px; height: 84px; font-size: 40px; border-radius: 20px; }
  address { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
