/* KZG Option Brief brand launch layer.
   This isolated slot can later host a featured options partner without changing the data dashboard. */

.brand-en {
  display: none;
}

body[data-lang="en"] .brand-zh {
  display: none;
}

body[data-lang="en"] .brand-en {
  display: inline;
}

.legacy-address-notice[hidden] {
  display: none;
}

.legacy-address-notice {
  position: relative;
  z-index: 24;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px max(24px, calc((100vw - 1540px) / 2));
  border-bottom: 1px solid #8e1717;
  background: #fff0ee;
  color: #651313;
}

.legacy-address-x {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
}

.legacy-address-notice b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legacy-address-notice p {
  margin-top: 2px;
  color: #8d3531;
  font-size: 12px;
}

.legacy-address-notice > a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(101, 19, 19, 0.26);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  font-size: 11px;
  text-decoration: none;
}

.legacy-address-notice > a strong {
  font-size: 13px;
}

.brand-launch {
  position: relative;
  isolation: isolate;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #171a1d;
  border-radius: 12px;
  background: #0a0d10;
  color: #f7f6f0;
  box-shadow: 0 18px 54px rgba(7, 10, 13, 0.16);
}

.brand-launch::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 75% 4%, rgba(211, 161, 83, 0.2), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  content: "";
  pointer-events: none;
}

.brand-launch-main {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
  min-height: 570px;
}

.brand-launch-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(34px, 5vw, 76px);
}

.brand-launch-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5bd77;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-launch-dot,
.brand-domain-live i,
.brand-feature-head b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6dd19d;
  box-shadow: 0 0 0 4px rgba(109, 209, 157, 0.11);
}

.brand-launch-formerly {
  margin-top: 36px;
  color: rgba(247, 246, 240, 0.58);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 650;
}

.brand-launch h2 {
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(48px, 6.3vw, 104px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.brand-launch h2 span {
  display: block;
  color: #d3a153;
  font-family: Inter, "SF Pro Text", "PingFang SC", sans-serif;
  font-size: 0.17em;
  font-weight: 850;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-launch-lede {
  max-width: 680px;
  margin-top: 25px;
  color: rgba(247, 246, 240, 0.76);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.66;
}

.brand-launch-lede.brand-en {
  display: none;
}

body[data-lang="en"] .brand-launch-lede.brand-en {
  display: block;
}

.brand-launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.brand-domain-button,
.brand-dashboard-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 16px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.brand-domain-button {
  border: 1px solid #d3a153;
  background: #d3a153;
  color: #101316;
}

.brand-domain-button:hover,
.brand-dashboard-button:hover {
  transform: translateY(-2px);
}

.brand-domain-button > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.brand-domain-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-domain-live i {
  width: 6px;
  height: 6px;
  background: #155e3c;
  box-shadow: none;
}

.brand-dashboard-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 760;
}

.brand-launch-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-launch-assurance > span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(247, 246, 240, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.brand-launch-assurance b {
  color: #d3a153;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.brand-feature-slot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.brand-feature-head,
.brand-feature-domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 246, 240, 0.52);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.16em;
}

.brand-feature-head b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9be2bb;
  font-size: 9px;
}

.brand-feature-wordmark {
  position: relative;
  display: grid;
  flex: 1;
  align-content: center;
  min-height: 285px;
  padding: 28px;
}

.brand-feature-wordmark small {
  color: #d3a153;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.24em;
}

.brand-feature-wordmark strong {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.72;
}

.brand-feature-wordmark em {
  position: absolute;
  right: 24px;
  bottom: 19px;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(70px, 9vw, 148px);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.brand-feature-domain {
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-feature-domain b {
  color: #f7f6f0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-feature-grid a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 60px;
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 246, 240, 0.68);
  font-size: 10px;
  text-decoration: none;
}

.brand-feature-grid a:nth-child(2n) {
  border-right: 0;
}

.brand-feature-grid a:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.brand-feature-grid a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.brand-feature-grid a > span {
  color: #d3a153;
  font-size: 9px;
}

.brand-feature-grid a b {
  font-size: 11px;
}

.brand-feature-grid a i {
  font-size: 13px;
  font-style: normal;
}

.brand-launch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(247, 246, 240, 0.48);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-launch-footer b {
  color: #d3a153;
}

body[data-theme="dark"] .legacy-address-notice {
  border-bottom-color: #e17265;
  background: #2b1515;
  color: #ffb3aa;
}

body[data-theme="dark"] .legacy-address-notice p {
  color: #e99a91;
}

@media (max-width: 1100px) {
  .brand-launch-main {
    grid-template-columns: 1fr;
  }

  .brand-feature-slot {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .legacy-address-notice {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px 12px;
  }

  .legacy-address-notice > a {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .brand-launch {
    margin-top: 10px;
    border-radius: 8px;
  }

  .brand-launch-main {
    min-height: 0;
  }

  .brand-launch-copy {
    padding: 30px 20px 24px;
  }

  .brand-launch-formerly {
    margin-top: 28px;
  }

  .brand-launch h2 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .brand-launch-lede {
    margin-top: 20px;
    font-size: 14px;
  }

  .brand-launch-actions {
    display: grid;
  }

  .brand-domain-button,
  .brand-dashboard-button {
    justify-content: space-between;
  }

  .brand-launch-assurance {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .brand-feature-slot {
    min-height: 0;
    margin: 0 10px 10px;
  }

  .brand-feature-wordmark {
    min-height: 240px;
    padding: 24px 20px;
  }

  .brand-feature-wordmark strong {
    font-size: clamp(52px, 18vw, 72px);
  }

  .brand-feature-domain {
    display: grid;
  }

  .brand-feature-domain b {
    font-size: 18px;
  }

  .brand-feature-grid {
    grid-template-columns: 1fr;
  }

  .brand-feature-grid a,
  .brand-feature-grid a:nth-child(2n),
  .brand-feature-grid a:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .brand-feature-grid a:last-child {
    border-bottom: 0;
  }

  .brand-launch-footer {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-domain-button,
  .brand-dashboard-button {
    transition: none;
  }
}
