/* HS99 site footer — shared by About and Solutions. Extracted from the homepage footer rules.
   Variables mirror the homepage palette (home-editorial.css :root). */
:root {
  --ed-ink: #0b0f2d; --ed-body: #33404f; --ed-muted: #5a6779; --ed-paper: #ffffff;
  --ed-porcelain: #f2f6fd; --ed-deep: #03045e; --ed-vivid: #2e56fd; --ed-cyan: #00b4d8;
  --ed-accent: #006dab; --ed-rule: rgba(11,15,45,.11); --ed-rule-dark: rgba(255,255,255,.14);
  --ed-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --ed-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.site-footer button:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--ed-vivid);
  outline-offset: 4px;
}
.site-footer {
  background: #050923;
  color: rgba(255,255,255,0.72);
  /* 2026-11-16：页尾在 94 个页面复用，但各页 body 的字号/行高不同
     （首页 16px/normal，coverage 页 17px/1.62）。
     原来靠继承，结果同一份 HTML 在不同页面渲染出最高 15px 的高度差。
     在这里把字号与行高钉死，页尾从此与宿主页面的排版设置无关。 */
  font-size: 15px;
  line-height: 1.55;
}
/* 2026-11-16：Solutions 拆两列后需要更宽的位置，col3 从 minmax(175px,1fr)
   放宽到 minmax(280px,1.35fr)；总宽上限从 1280 提到 1360，四栏才有呼吸。 */
.site-footer .site-footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) minmax(120px, .62fr) minmax(280px, 1.35fr) minmax(190px, .92fr);
  gap: clamp(24px, 3vw, 48px);
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 64px;
}
.site-footer__brand img {
  display: block;
  width: 128px;
  height: auto;
  filter: brightness(0) invert(1);
}
.site-footer__brand h2 {
  max-width: 430px;
  margin: 28px 0 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.site-footer__brand p {
  max-width: 420px;
  margin: 18px 0 0;
  line-height: 1.7;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.site-footer__col h3 {
  margin: 0 0 10px;
  color: #58d6f2;
  font-size: 11px;
  font-weight: 760;
  /* 2026-11-16：显式给行高。原来继承宿主页面，首页 17.05px、coverage 页 11.88px，
     两页页尾因此差 5px。现在固定 1.5。 */
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__col button,
.site-footer__col a {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.7);
  /* 2026-11-16：原来写 font: inherit，于是字号跟着 body 走 ——
     首页 body 是 16px、coverage 页是 17px，同一份页尾在两个页面高 15px 差。
     现在明确 15px，全站页尾不再受页面 body 字号影响。 */
  font-family: inherit;
  font-size: 15px;
  font-weight: inherit;
  line-height: 1.55;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms var(--ed-ease);
}
.site-footer__col button:hover,
.site-footer__col a:hover {
  color: #fff;
  transform: translateX(3px);
}
.site-footer__contact p {
  margin: 0;
  max-width: 220px;
  line-height: 1.6;
}
.site-footer__col .site-footer__trial { margin-top: 2px; color: #fff; font-weight: 700; }
/* 2026-11-16：Solutions 栏拆成两组并排，解决 8 条链接比其他栏长一倍、视觉高度不齐的问题。
   两组合在同一栏内（不新增 grid 列），因此四栏骨架不变。 */
.site-footer .site-footer__col--split {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto 1fr;
  column-gap: clamp(18px, 2vw, 32px);
  align-items: start;
}

.site-footer .site-footer__col--split > h3 {
  grid-column: 1 / -1;
}

.site-footer .site-footer__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* 二维码：HTML 里是 115×115，原来 CSS 写死 100px，二者不一致会让图被压糊。
   改为跟随属性值。 */
.site-footer .hs-contact-footer { margin: 8px 0 0; }
.site-footer .hs-contact-footer img { display: block; width: auto; height: auto; max-width: 115px; padding: 4px; border-radius: 6px; background: white; }
.site-footer .hs-contact-footer figcaption { margin-top: 8px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.4; }
/* 2026-11-16：宽度与 .site-footer__inner 统一到 1360，否则底栏比主体窄 80px，左右不齐。 */
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 180px 24px 0;
  box-sizing: border-box;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
}
.site-footer__bottom a {
  color: #fff;
  text-decoration: none;
}
.site-footer__bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 1023px) {
  .site-footer .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .site-footer .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 22px;
  }
  .site-footer__contact { grid-column: 1 / -1; }

  /* 2026-11-16：Solutions 拆两列后，窄屏下两列并排会把内容顶出视口（实测 390 溢出 9px）。
     单列堆叠，链接高度由内容决定。 */
  .site-footer .site-footer__col--split {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .site-footer .site-footer__group + .site-footer__group {
    margin-top: 12px;
  }

  .site-footer__bottom {
    flex-direction: column;
    padding-right: 0;
    padding-bottom: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer button,
.site-footer a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
