/* Legal pages — testhtml tokens, bilingual two-column blocks. */

.legal-kicker,
.legal-kicker-zh {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5AADA5;
}

.legal-kicker-zh {
  margin-top: 0.25rem;
  letter-spacing: 0.12em;
}

.legal-hero {
  padding: 8.5rem 0 2.75rem;
  background: #F5FAF9;
}

.legal-hero-grid,
.legal-section {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.legal-hero-copy,
.legal-hero-note,
.legal-section-head,
.legal-section-copy {
  min-width: 0;
}

.legal-heading {
  margin: 1rem 0 0.35rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.05;
  color: #183957;
}

.legal-heading-zh {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #667783;
}

.legal-hero-note {
  padding-top: 0.25rem;
}

.legal-hero-note a,
.legal-section-copy a {
  color: #183957;
}

.legal-hero-note a:hover,
.legal-section-copy a:hover {
  color: #5AADA5;
}

.legal-body {
  padding: 0 0 5rem;
  background: #fff;
}

.legal-section {
  padding: 2.15rem 0;
  border-top: 1px solid rgba(24, 57, 87, 0.12);
}

.legal-section:first-child {
  border-top: 0;
}

.legal-h {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
  color: #183957;
}

.legal-h-zh {
  margin: 0.3rem 0 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #5AADA5;
}

.legal-en,
.legal-zh {
  margin: 0 0 0.75rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #183957;
}

.legal-zh {
  color: #667783;
}

.legal-section-copy .legal-zh:last-child,
.legal-hero-note .legal-zh:last-child {
  margin-bottom: 0;
}

.legal-en a,
.legal-zh a,
.legal-facts a {
  color: #183957;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-en code,
.legal-zh code {
  font-family: "Times New Roman", Times, serif;
  font-size: 0.95em;
  color: #183957;
}

.legal-facts {
  margin: 1.25rem 0 0;
}

.legal-facts div {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 1rem;
}

.legal-facts div:last-child {
  margin-bottom: 0;
}

.legal-facts dt {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5AADA5;
}

.legal-facts dd {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #183957;
}

@media (min-width: 992px) {
  .legal-hero-grid,
  .legal-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: 2rem 4.5rem;
    align-items: start;
  }

  .legal-heading {
    font-size: 3rem;
  }

  .legal-hero-note {
    padding-top: 2.35rem;
  }

  .legal-section {
    padding: 2.6rem 0;
  }

  .legal-facts div {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 0.75rem 1.25rem;
    align-items: start;
  }
}
