:root {
  --geo-ink: #16151a;
  --geo-muted: #63606b;
  --geo-line: #ecebf1;
  --geo-accent: #285181;
}

.geo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--geo-line);
  background: rgb(255 255 255 / 82%);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  color: var(--geo-ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.4;
}

.geo-header-inner {
  width: min(calc(100% - 48px), 1536px);
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.geo-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--geo-ink);
  text-decoration: none;
}

.geo-brand strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.geo-brand-logo img {
  width: 112px;
  height: 55px;
  object-fit: contain;
}

.geo-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13.5px;
}

.geo-header nav a {
  position: relative;
  padding: 5px 0;
  color: var(--geo-muted);
  text-decoration: none;
  white-space: nowrap;
}

.geo-header nav a:not(.geo-workspace)::after {
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--geo-ink);
  content: "";
  transition: right .3s ease;
}

.geo-header nav a:not(.geo-workspace):hover::after { right: 0; }

.geo-header nav a:hover {
  color: var(--geo-accent);
}

.geo-header .geo-workspace {
  display: flex;
  height: 40px;
  align-items: center;
  overflow: hidden;
  padding: 0 22px;
  border-radius: 3px;
  background: var(--geo-ink);
  color: #fff;
}

.geo-header details {
  display: none;
  position: relative;
}

.geo-footer {
  border-top: 1px solid var(--geo-line);
  background: #f8f7fb;
  color: var(--geo-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  line-height: 1.7;
}

.geo-footer-inner {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
  gap: 42px;
}

.geo-footer strong,
.geo-footer span {
  display: block;
}

.geo-footer strong {
  color: var(--geo-ink);
  font-size: 14px;
}

.geo-footer address {
  margin: 0;
  font-style: normal;
}

.geo-footer-compliance {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--geo-line);
}

.geo-footer a {
  color: var(--geo-ink);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .geo-header-inner > nav {
    display: none;
  }

  .geo-header details {
    display: block;
  }

  .geo-header summary {
    cursor: pointer;
    padding: 9px 15px;
    border: 1px solid var(--geo-line);
    border-radius: 3px;
    font-size: 13px;
    list-style: none;
  }

  .geo-header summary::-webkit-details-marker { display: none; }

  .geo-header details nav {
    position: absolute;
    top: 50px;
    right: 0;
    width: 256px;
    padding: 10px;
    display: grid;
    gap: 0;
    border-radius: 6px;
    border: 1px solid var(--geo-line);
    background: #fff;
    box-shadow: 0 18px 50px rgb(22 21 26 / 12%);
  }

  .geo-header details nav a {
    padding: 11px 14px;
  }
}

@media (max-width: 640px) {
  .geo-header-inner,
  .geo-footer-inner {
    width: min(calc(100% - 32px), 1536px);
  }

  .geo-brand strong {
    max-width: 240px;
  }

  .geo-footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
