/* 宣传页 promo1.html 专用样式 */

/* 顶栏：三链接相对视口居中（左右品牌/登录区对称占位） */
@media (min-width: 769px) {
  body.page-promo1 .site-header .inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  body.page-promo1 .site-header .brand {
    grid-column: 1;
    justify-self: start;
  }

  body.page-promo1 .site-header .nav-links {
    grid-column: 2;
    justify-self: center;
  }

  body.page-promo1 .site-header .nav-actions {
    grid-column: 3;
    justify-self: end;
  }
}

body.page-promo1 .landing-inner {
  width: 100%;
  max-width: min(72em, 98vw);
  margin-inline: auto;
}

body.page-promo1 .landing-eyebrow {
  position: relative;
  top: -1.5rem;
  width: 100%;
  text-transform: none;
  text-align: center;
  margin-bottom: 0.75rem;
  /* letter-spacing 会在末尾多出空隙，用 padding 抵消光学偏移 */
  padding-right: 0.42em;
  box-sizing: border-box;
}
body.page-promo1 .landing-tagline {
  margin: 0 0 2.25rem;
  width: 100%;
  max-width: none;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

body.page-promo1 .tagline-line {
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-family: "Inter", var(--font-sans);
  font-size: clamp(1.85rem, 4.8vw, 3rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--color-text);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

body.page-promo1 .tagline-line.is-exiting {
  opacity: 0;
  transform: translateY(-8px);
}

body.page-promo1 .tagline-line.is-entering {
  opacity: 0;
  transform: translateY(8px);
}

body.page-promo1 .landing-soon {
  margin: 0;
  padding: 0 0.38em 0 0;
  display: inline-block;
  text-align: center;
  font-family: "Inter", var(--font-sans);
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  cursor: default;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  color: rgba(48, 72, 118, 0.88);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 16px rgba(255, 255, 255, 0.55),
    0 2px 12px rgba(74, 123, 212, 0.22);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body.page-promo1 .landing-soon {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(195, 212, 242, 0.94) 18%,
      rgba(88, 118, 178, 0.92) 42%,
      rgba(52, 78, 138, 0.9) 56%,
      rgba(125, 152, 205, 0.9) 76%,
      rgba(228, 236, 250, 0.96) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 1))
      drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.45))
      drop-shadow(0 2px 14px rgba(74, 123, 212, 0.3))
      drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
  }
}

body.page-promo1 .landing-credit {
  padding-right: 0.18em;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  body.page-promo1 .landing-tagline {
    min-height: 3em;
  }

  body.page-promo1 .tagline-line {
    font-size: clamp(1.45rem, 5.5vw, 2rem);
    letter-spacing: 0.03em;
  }

  body.page-promo1 .landing-soon {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    letter-spacing: 0.28em;
    padding-right: 0.28em;
  }
}