.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e5e5e1;
}
.legal-header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.legal-brand img {
  width: 112px;
  height: auto;
}
.legal-brand span {
  border-left: 1px solid #d5d5d5;
  padding-left: 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
}
.legal-header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 600;
}
.legal-header-nav a,
.legal-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.legal-header-nav a:hover,
.legal-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.legal-hero {
  padding-block: 100px 110px;
}
.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 80px;
}
.legal-kicker,
.legal-number,
.legal-toc > span,
.legal-next > div > span,
.legal-preview > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  line-height: 1.5;
}
.legal-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0d0d0;
  margin-bottom: 27px;
}
.legal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
}
.legal-hero h1 {
  font-size: clamp(48px, 6.7vw, 100px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.065em;
}
.legal-period {
  color: var(--neon);
}
.legal-lead {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: #d6d6d6;
}
.legal-preview {
  border-top: 2px solid var(--neon);
  padding-top: 22px;
}
.legal-preview strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.04em;
}
.legal-preview p {
  margin-top: 10px;
  color: #d2d2d2;
  font-size: 13px;
  line-height: 1.75;
}
.legal-preview > span {
  display: block;
  margin-top: 26px;
  color: #b8b8b8;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 750px);
  justify-content: space-between;
  gap: 90px;
  padding-block: 90px 120px;
}
.legal-toc {
  position: sticky;
  top: 116px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.legal-toc > span {
  color: #555;
  margin-bottom: 22px;
}
.legal-toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid #e5e5e1;
  font-size: 12px;
  color: #333;
}
.legal-toc a:last-child {
  border-bottom: 1px solid #e5e5e1;
}
.legal-toc a:hover {
  color: #000;
  padding-left: 6px;
}
.legal-intro {
  border-left: 4px solid var(--neon);
  padding: 2px 0 2px 24px;
  margin-bottom: 82px;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -.025em;
  line-height: 1.55;
}
.legal-section {
  scroll-margin-top: 110px;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid #deded9;
}
.legal-number {
  color: #555;
}
.legal-section h2 {
  margin-top: 20px;
  margin-bottom: 24px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}
.legal-section p {
  max-width: 690px;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
.legal-section p + p {
  margin-top: 18px;
}
.legal-list {
  max-width: 690px;
  margin: 20px 0;
  padding-left: 22px;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}
.legal-list li + li {
  margin-top: 10px;
}
.legal-section p a {
  text-decoration: underline;
  text-decoration-color: #777;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.legal-pending {
  margin-top: 28px;
  padding: 24px 28px;
  background: #f5f5f1;
  border-left: 2px solid #111;
}
.legal-pending strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
.legal-pending p {
  font-size: 13px;
  line-height: 1.75;
}
.legal-next {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 32px;
  background: var(--neon);
}
.legal-next h2 {
  margin-top: 14px;
  font-size: 30px;
}
.legal-next p {
  margin-top: 8px;
  font-size: 13px;
  max-width: 380px;
}
.legal-next > a {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 12px 16px;
  background: #111;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.legal-next > a:hover {
  background: #333;
}
.legal-footer {
  padding-block: 48px;
}
.legal-footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.legal-footer img {
  width: 145px;
  height: auto;
}
.legal-footer p {
  color: #c1c1c1;
  font-size: 12px;
  margin-top: 10px;
}
.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 25px;
  font-size: 12px;
}
.legal-footer [aria-current="page"] {
  color: var(--neon);
}
@media (max-width: 900px) {
  .legal-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .legal-preview {
    max-width: 580px;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 70px 90px;
  }
  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
  .legal-toc > span {
    grid-column: 1 / -1;
  }
}
@media (max-width: 639px) {
  .legal-header-nav a:first-child {
    display: none;
  }
  .legal-header-inner {
    min-height: 70px;
  }
  .legal-brand img {
    width: 90px;
  }
  .legal-brand span {
    font-size: 7px;
    letter-spacing: .1em;
    padding-left: 6px;
  }
  .legal-header-nav {
    gap: 12px;
    font-size: 11px;
  }
  .legal-hero {
    padding-block: 70px 74px;
  }
  .legal-hero h1 {
    font-size: clamp(46px, 13vw, 66px);
  }
  .legal-layout {
    padding-block: 54px 76px;
  }
  .legal-toc {
    grid-template-columns: 1fr;
  }
  .legal-toc a:last-child {
    border-bottom: 1px solid #e5e5e1;
  }
  .legal-intro {
    margin-bottom: 60px;
    padding-left: 18px;
  }
  .legal-section {
    padding-bottom: 48px;
    margin-bottom: 48px;
  }
  .legal-section h2 {
    font-size: 31px;
  }
  .legal-section p {
    font-size: 14px;
  }
  .legal-list {
    font-size: 14px;
  }
  .legal-pending {
    padding: 20px;
  }
  .legal-next {
    display: block;
    padding: 25px;
  }
  .legal-next > a {
    margin-top: 24px;
    width: fit-content;
  }
  .legal-footer-inner {
    align-items: start;
    flex-direction: column;
  }
}
