/* 杭州易近智能科技有限公司 · 官网
   纯静态：系统字体，无外部字体 / CDN / 统计 / cookie */
:root {
  --navy: #16305C;
  --navy-hover: #1D3D73;
  --cyan: #22B3C3;        /* 只用于图形，不用于小字 */
  --cyan-text: #08737F;   /* 小号青色文字：白 5.57、#F8FAFC 5.33、#EEF3F9 4.99 */
  --ink: #101828;
  --body: #344054;
  --sec: #5D6679;         /* 次要文字：#EEF3F9 上 5.17 */
  --line: #E4E7EC;
  --mist: #EEF3F9;
  --bg: #F8FAFC;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Source Han Sans", "Noto Sans CJK SC", sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan-text); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.logo--navy { color: var(--navy); }
.logo--white { color: #fff; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: block; border-radius: 6px; }
.nav__links { display: flex; gap: 40px; }
.nav__links a, .nav__drop a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--body); }
.nav__links a:hover, .nav__drop a:hover { color: var(--navy); }
.nav__menu { display: none; }

/* 首屏 */
.hero { background: var(--bg); }
.hero__inner { min-height: 560px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.hero__text { max-width: 580px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--cyan-text); margin-bottom: 12px; letter-spacing: .5px; }
h1 { font-size: 52px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.lead { margin-top: 24px; font-size: 17px; line-height: 1.75; }
.hero__actions { margin-top: 40px; display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 32px; border-radius: 24px; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-hover); }
.btn--ghost { border: 1px solid #D0D5DD; color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.hero__art { flex: 0 0 auto; }
.hero__art svg { width: 340px; height: 340px; }

/* 区块 */
.section { padding: 104px 0; }
.section--mist { background: var(--mist); }
h2 { font-size: 36px; line-height: 1.35; font-weight: 700; color: var(--navy); }
.sub { margin-top: 12px; font-size: 16px; color: var(--sec); }

.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px 40px; }
.card__icon { display: block; width: 48px; height: 48px; border-radius: 12px; background: var(--mist); }
.card h3 { margin-top: 24px; font-size: 20px; line-height: 1.4; color: var(--ink); }
.card p { margin-top: 12px; font-size: 15px; line-height: 1.75; }

.contact { margin-top: 40px; background: #fff; border-radius: 20px; padding: 32px 40px; display: grid; grid-template-columns: 3fr 2fr; gap: 24px 48px; }
.contact dt { font-size: 13px; font-weight: 500; color: var(--sec); }
.contact dd { margin-top: 6px; font-size: 17px; font-weight: 500; color: var(--ink); }
.contact dd a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(22,48,92,.3); text-underline-offset: 4px; }
.contact dd a:hover { text-decoration-color: var(--navy); }

/* 页脚 */
.footer { background: var(--navy); color: #B8C6DC; padding: 52px 0 32px; font-size: 13px; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__name { margin-top: 20px; font-size: 15px; font-weight: 500; color: #fff; }
.footer__en { margin-top: 4px; font-size: 12px; }
.footer__addr { align-self: flex-end; max-width: 560px; }
.footer__bottom { padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 12px; }
.footer__bottom a { color: #B8C6DC; text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }
.police { display: inline-flex; align-items: center; gap: 4px; }

/* 404 */
.nf { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); text-align: center; padding: 24px; }
.nf__box svg { margin: 0 auto 24px; }
.nf__box h1 { font-size: 32px; }
.nf__box p { margin: 12px 0 32px; color: var(--sec); }

/* 手机 */
@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  .nav__inner { height: 60px; }
  .nav__brand svg { width: 120px; height: 39px; }
  .nav__links { display: none; }
  .nav__menu { display: block; position: relative; }
  .nav__menu summary { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 44px; height: 44px; list-style: none; cursor: pointer; border-radius: 8px; }
  .nav__menu summary::-webkit-details-marker { display: none; }
  .nav__menu summary span { display: block; width: 20px; height: 2px; border-radius: 1px; background: var(--navy); }
  .nav__drop { display: flex; flex-direction: column; position: absolute; right: 0; top: 52px; min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(16,24,40,.08); padding: 8px 0; }
  .nav__drop a { padding: 12px 20px; }

  .hero__inner { flex-direction: column-reverse; align-items: stretch; min-height: 0; gap: 28px; padding-top: 36px; padding-bottom: 48px; }
  .hero__art svg { width: 168px; height: 168px; margin: 0 auto; }
  h1 { font-size: 32px; }
  .lead { margin-top: 20px; font-size: 15px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1; padding: 0 16px; }

  .section { padding: 48px 0 56px; }
  h2 { font-size: 26px; }
  .sub { font-size: 14px; }
  .cards { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .card { padding: 24px 24px 28px; border-radius: 18px; }
  .card h3 { font-size: 18px; margin-top: 18px; }
  .card p { font-size: 14px; }
  .contact { grid-template-columns: 1fr; padding: 24px; margin-top: 28px; border-radius: 18px; }
  .contact dd { font-size: 15px; }

  .footer { padding: 40px 0 28px; }
  .footer__top { flex-direction: column; gap: 16px; }
  .footer__top svg { width: 130px; height: 42px; }
  .footer__addr { align-self: auto; font-size: 12px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
}
