:root {
  --lg-bg: #221818;
  --lg-text: #ffffff;
  --lg-muted: #d6d8d9;
  --lg-brand: #b81c22;
  --lg-card-bg: #ffffff;
  --lg-divider: rgba(231, 231, 231, 0.3);
  --lg-desc: #595757;
  --lg-content: 83.333vw;
  --zs-brand: #b81c22;
  --zs-muted: #d6d8d9;
  --zs-inner: 83.333vw;
}

body.zs-legal-page {
  background: var(--lg-bg);
  color: var(--lg-text);
}

.lg-page {
  width: 100%;
}

.page-shell {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zs-legal-page .hero-nav {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(1.041vw);
  -webkit-backdrop-filter: blur(1.041vw);
}

.lg-hero {
  position: relative;
  width: 100%;
  min-height: 28.281vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.lg-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.lg-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lg-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.lg-hero-inner {
  width: var(--lg-content);
  padding: 8.333vw 3.125vw 5.208vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.989vw;
}

.lg-hero-title {
  margin: 0;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: -0.052vw;
}

.lg-hero-desc {
  margin: 0;
  max-width: 56.77vw;
  color: #ffffff;
  line-height: 1.5;
}

.lg-policy {
  width: 100%;
  padding: 7.187vw 0 8.854vw;
}

.lg-policy-inner {
  width: var(--lg-content);
  margin: 0 auto;
  padding: 0 5.729vw;
  box-sizing: border-box;
}

.lg-policy-title {
  margin: 0;
  color: #ffffff;
  text-align: center;
  line-height: 1.5;
  letter-spacing: -0.026vw;
}

.lg-tabs {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.5vw;
  flex-wrap: wrap;
  margin: 3.906vw 0 2.395vw;
}

.lg-tab {
  position: relative;
  background: transparent;
  border: none;
  padding: 0 0 0.364vw;
  font-family: inherit;
  color: #ffffff;
  cursor: pointer;
  line-height: 1.5;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.26vw;
  transition: color 0.2s ease;
}

.lg-tab:hover {
  color: var(--lg-brand);
}

.lg-tab.is-active {
  color: var(--lg-brand);
}

.lg-tab.is-active::after {
  content: "";
  display: block;
  width: 4.166vw;
  max-width: 100%;
  height: 0.104vw;
  background: var(--lg-brand);
  border-radius: 0.104vw;
}

.lg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.666vw;
}

.lg-item {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  transition: background 0.3s ease, padding 0.3s ease, border-radius 0.3s ease,
    box-shadow 0.3s ease;
  padding: 0.833vw 0;
}

.lg-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(1.666vw * -0.5 - 0.026vw);
  height: 0.052vw;
  background: var(--lg-divider);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lg-item:last-child::after {
  display: none;
}

.lg-item.is-open {
  background: var(--lg-card-bg);
  border-radius: 1.041vw;
  padding: 1.562vw 1.666vw;
  box-shadow: 0 0.625vw 1.666vw rgba(0, 0, 0, 0.2);
  margin: 0 -1.041vw;
}

.lg-item.is-open::after {
  opacity: 0;
}

.lg-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.041vw;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: #ffffff;
  min-height: 1.875vw;
  transition: color 0.25s ease;
}

.lg-q-text {
  max-width: 55.208vw;
  line-height: 1.5;
  color: #ffffff;
  transition: color 0.25s ease;
}

.lg-item.is-open .lg-q-text {
  color: var(--lg-brand);
}

.lg-q:hover .lg-q-text {
  color: var(--lg-brand);
}

.lg-arrow {
  position: relative;
  width: 1.77vw;
  height: 1.77vw;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease, color 0.25s ease;
}

.lg-arrow::before {
  content: "";
  width: 0.468vw;
  height: 0.468vw;
  border-top: 0.104vw solid currentColor;
  border-right: 0.104vw solid currentColor;
  transform: rotate(45deg);
}

.lg-item.is-open .lg-arrow {
  color: var(--lg-brand);
  transform: rotate(90deg);
}

.lg-q:hover .lg-arrow {
  color: var(--lg-brand);
}

.lg-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
}

.lg-item.is-open .lg-a {
  max-height: 41.666vw;
  opacity: 1;
  padding-top: 1.145vw;
}

.lg-a p {
  margin: 0;
  color: var(--lg-desc);
  line-height: 1.5;
  max-width: 66.145vw;
}

.lg-disclaimer {
  margin: 6.041vw auto 0;
  width: 59.635vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.781vw;
  color: #ffffff;
}

.lg-disclaimer-title {
  margin: 0;
  line-height: 1.5;
}

.lg-disclaimer-text {
  margin: 0;
  line-height: 1.5;
  color: #ffffff;
}

.lg-contact {
  position: relative;
  width: 100%;
  min-height: 26.666vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.lg-contact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.lg-contact-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lg-contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.lg-contact-inner {
  width: var(--lg-content);
  padding: 8.125vw 3.125vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5vw;
}

.lg-contact-title {
  margin: 0;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: -0.026vw;
  max-width: 37.5vw;
}

.lg-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625vw;
}

.lg-contact-item {
  display: flex;
  align-items: center;
  gap: 1.666vw;
  color: #ffffff;
  line-height: 1.5;
}

.lg-contact-icon {
  width: 1.77vw;
  height: 1.77vw;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lg-brand);
}

.lg-contact-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.lg-contact-text {
  color: #ffffff;
  line-height: 1.5;
  word-break: break-word;
}


/* 
*======================================================media===============================================================
*/
@media screen and (max-width:768px) {
  :root {
    --lg-content: 92%;
    --zs-inner: 92%;
  }

  .lg-page {
    width: 100%;
  }

  .page-shell {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .zs-legal-page .hero-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .lg-hero {
    width: 100%;
    min-height: 440px;
    display: flex;
  }

  .lg-hero-bg img {
    width: 100%;
    height: 100%;
  }

  .lg-hero-inner {
    width: 100%;
    max-width: 100%;
    padding: 104px 16px 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .lg-hero-title {
    letter-spacing: -0.5px;
  }

  .lg-hero-desc {
    max-width: 100%;
  }

  .lg-policy {
    width: 100%;
    padding: 48px 0 64px;
  }

  .lg-policy-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }

  .lg-policy-title {
    letter-spacing: -0.25px;
    text-align: left;
    width: 14em;
  }

  .lg-tabs {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px 24px;
    flex-wrap: wrap;
    margin: 32px 0 24px;
  }

  .lg-tab {
    padding: 0 0 6px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lg-tab.is-active::after {
    width: 48px;
    max-width: 100%;
    height: 2px;
    border-radius: 2px;
  }

  .lg-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .lg-item {
    padding: 12px 0;
  }

  .lg-item::after {
    bottom: calc(20px * -0.5 - 0.5px);
    height: 1px;
  }

  .lg-item.is-open {
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin: 0;
  }

  .lg-q {
    width: 100%;
    display: flex;
    gap: 12px;
    min-height: 40px;
  }

  .lg-q-text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .lg-arrow {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
  }

  .lg-arrow::before {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }

  .lg-item.is-open .lg-a {
    max-height: 1200px;
    padding-top: 16px;
  }

  .lg-a p {
    max-width: 100%;
  }

  .lg-disclaimer {
    margin: 48px auto 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    box-sizing: border-box;
  }

  .lg-contact {
    width: 100%;
    min-height: auto;
    display: flex;
  }

  .lg-contact-bg img {
    width: 100%;
    height: 100%;
  }

  .lg-contact-inner {
    width: 100%;
    max-width: 100%;
    padding: 64px 16%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .lg-contact-title {
    letter-spacing: -0.25px;
    max-width: 100%;
  }

  .lg-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .lg-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .lg-contact-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
  }

  .lg-contact-icon img {
    width: 100%;
    height: 100%;
  }
}