/* 北京因博林科技有限公司 — 站点样式
   无外部依赖，纯本地资源，保证境外访问速度与稳定性 */

:root {
  --ink: #101828;
  --body: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f9fafb;
  --accent: #1d4ed8;
  --accent-soft: #eff4ff;
  --radius: 12px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; letter-spacing: 0;
}
.brand small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0; }

.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.site-nav a { color: var(--body); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.02em;
  background: var(--soft);
}
.hero h1 { max-width: 800px; }
.hero .lede { max-width: 660px; margin-top: 20px; font-size: 17px; color: var(--body); }
.hero .lede-zh { max-width: 660px; font-size: 15px; color: var(--muted); margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 500; border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; text-decoration: none; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #c9ced8; text-decoration: none; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin-top: 12px; font-size: 15px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 14px; color: var(--body); }
.card .zh { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.card-num {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 6px; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 600; margin-bottom: 14px;
}

/* ---------- company facts ---------- */
.facts {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  border-top: 1px solid var(--line); margin-top: 8px;
  font-size: 14px;
}
.facts dt, .facts dd {
  margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); padding-right: 20px; }
.facts dd { color: var(--ink); }
.facts dd code { font-size: 13px; color: var(--ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-item { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item h3 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; letter-spacing: 0; }
.contact-item p { margin: 0; color: var(--ink); font-size: 14px; }
.contact-item .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #98a2b3; padding: 44px 0 32px; font-size: 13px; }
.site-footer a { color: #d0d5dd; }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid #1f2937; }
.footer-brand { color: #fff; font-weight: 500; }
.footer-brand small { display: block; color: #98a2b3; font-weight: 400; margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; font-size: 12px; }

/* ---------- legal pages ---------- */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .meta { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 19px; margin: 36px 0 10px; }
.legal h3 { font-size: 15px; margin: 22px 0 6px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; font-size: 15px; }
.legal p, .legal li { font-size: 15px; }
.legal .zh-block { font-size: 14px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--line); margin: 10px 0 20px; }
.legal .zh-block p, .legal .zh-block li { font-size: 14px; }
.back { font-size: 14px; display: inline-block; margin-bottom: 24px; color: var(--muted); }

@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; padding-top: 14px; font-size: 12px; }
  .facts dd { padding-top: 2px; }
}
