:root {
  --global-font: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --global-ink: #142b43;
  --global-muted: #657487;
  --global-accent: #559eaa;
  --global-accent-2: #9d8fae;
  --global-line: rgba(73, 103, 126, .14);
}

.nav,
.footer {
  display: none !important;
}

body {
  padding-top: 94px;
}

.global-site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  right: 0;
  left: 0;
  padding-inline: 20px;
  font-family: var(--global-font);
}

.global-nav-shell {
  width: min(1180px, 100%);
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 8px 12px 8px 22px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 36px rgba(62, 75, 94, .1);
  backdrop-filter: blur(18px);
}

.global-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--global-ink);
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}

.global-brand img {
  width: 44px;
  height: 34px;
  object-fit: contain;
}

.global-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.global-nav-links a {
  color: #536174;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.global-nav-links a:hover,
.global-nav-links a[aria-current="page"] {
  color: var(--global-accent);
}

.global-nav-links .global-nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--global-accent), var(--global-accent-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(85, 158, 170, .2);
}

.global-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--global-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--global-ink);
  cursor: pointer;
}

.hero.hero-runner-banner {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 88px 0 76px;
  background-image:
    linear-gradient(90deg,
      rgba(248, 243, 250, .99) 0%,
      rgba(248, 243, 250, .97) 25%,
      rgba(248, 243, 250, .86) 39%,
      rgba(248, 243, 250, .54) 52%,
      rgba(248, 243, 250, .13) 69%,
      rgba(248, 243, 250, .02) 100%),
    url("../../continuous-growth-road-run.webp");
  background-position: center, center right;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.hero.hero-runner-banner::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 87% 49%, rgba(255, 211, 146, .2), transparent 21%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(76, 49, 84, .06));
  content: "";
  pointer-events: none;
  z-index: -1;
}

.hero.hero-runner-banner .hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero.hero-runner-banner .hero-grid > div:first-child {
  max-width: 690px;
}

.hero.hero-runner-banner .lead,
.hero.hero-runner-banner .hero-note {
  text-shadow: 0 1px 14px rgba(248, 243, 250, .88);
}

.global-site-footer {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  background: #17283a;
  color: rgba(255, 255, 255, .68);
  font-family: var(--global-font);
}

.global-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.45fr .75fr .75fr;
  gap: 54px;
}

.global-footer-inner > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.global-footer-inner .global-brand {
  color: #fff;
}

.global-footer-inner .global-brand img {
  filter: brightness(0) invert(1);
}

.global-footer-inner strong {
  color: #fff;
}

.global-footer-inner p {
  max-width: 430px;
  margin: 8px 0 0;
}

.global-footer-inner a:not(.global-brand) {
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
}

.global-footer-inner a:hover {
  color: #73d1d1;
}

@media (max-width: 900px) {
  body {
    padding-top: 82px;
  }

  .global-site-header {
    top: 10px;
    padding-inline: 12px;
  }

  .global-nav-shell {
    min-height: 60px;
    padding-left: 15px;
  }

  .global-menu-toggle {
    display: block;
  }

  .global-nav-links {
    position: absolute;
    top: 68px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 54px rgba(48, 83, 107, .14);
  }

  .global-nav-links.is-open {
    display: flex;
  }

  .global-nav-links a {
    padding: 11px 14px;
  }

  .global-nav-links .global-nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero.hero-runner-banner {
    min-height: 690px;
    padding: 68px 0 62px;
    background-image:
      linear-gradient(90deg,
        rgba(248, 243, 250, .99) 0%,
        rgba(248, 243, 250, .96) 36%,
        rgba(248, 243, 250, .72) 56%,
        rgba(248, 243, 250, .12) 100%),
      url("../../continuous-growth-road-run.webp");
    background-position: center, 61% center;
  }

  .global-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .global-footer-inner > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .global-brand span {
    font-size: .92rem;
  }

  .global-brand img {
    width: 38px;
  }

  .hero.hero-runner-banner {
    min-height: 720px;
    align-items: end;
    padding: 250px 0 56px;
    background-image:
      linear-gradient(180deg,
        rgba(248, 243, 250, .08) 0%,
        rgba(248, 243, 250, .22) 30%,
        rgba(248, 243, 250, .92) 55%,
        rgba(248, 243, 250, .99) 100%),
      url("../../continuous-growth-road-run.webp");
    background-position: center, 66% center;
  }

  .hero.hero-runner-banner .hero-grid > div:first-child {
    max-width: none;
  }

  .global-footer-inner {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .global-footer-inner > div:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-nav-links a {
    transition: none;
  }
}
