.vc-public-v2--legal {
  min-height: 100%;
  color: var(--v2-text, #f7f5ee);
  background:
    radial-gradient(circle at 86% 4%, rgba(89, 186, 255, 0.1), transparent 28%),
    radial-gradient(circle at 12% 0%, rgba(219, 182, 92, 0.08), transparent 24%),
    var(--v2-bg, #05070b);
}

.vc-legal-main {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
  padding: clamp(42px, 6vw, 84px) 0 clamp(80px, 10vw, 140px);
}

.vc-legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: end;
  padding: clamp(28px, 4vw, 54px) 0 clamp(48px, 7vw, 86px);
  border-bottom: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
}

.vc-legal-kicker {
  margin: 0 0 18px;
  color: var(--v2-gold, #dbb65c);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vc-legal-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--v2-text, #f7f5ee);
  font-family: var(--vc-display, "DM Sans", sans-serif);
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.vc-legal-hero__lead {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--v2-muted-strong, #c8d0dc);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.vc-legal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.vc-legal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--v2-accent-ink, #06111d);
  background: var(--v2-accent, #59baff);
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.vc-legal-action--quiet {
  color: var(--v2-text, #f7f5ee);
  border-color: var(--v2-line-strong, rgba(148, 163, 184, 0.28));
  background: transparent;
}

.vc-legal-action:is(:hover, :focus-visible) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.vc-legal-hero__ledger {
  margin: 0;
  border-top: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
}

.vc-legal-hero__ledger > div {
  display: grid;
  grid-template-columns: minmax(84px, 0.65fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
}

.vc-legal-hero__ledger dt {
  color: var(--v2-muted, #8b98aa);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vc-legal-hero__ledger dd {
  margin: 0;
  color: var(--v2-text, #f7f5ee);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.45;
}

.vc-legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  gap: clamp(52px, 8vw, 110px);
  justify-content: start;
  padding-top: clamp(52px, 7vw, 88px);
}

.vc-legal-nav {
  position: sticky;
  top: 96px;
  align-self: start;
}

.vc-legal-nav > span {
  display: block;
  margin-bottom: 14px;
  color: var(--v2-muted, #8b98aa);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vc-legal-nav ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
  list-style: none;
}

.vc-legal-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
  color: var(--v2-muted-strong, #c8d0dc);
  font-size: 0.67rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.vc-legal-nav a span {
  color: var(--v2-gold, #dbb65c);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.vc-legal-nav a:is(:hover, :focus-visible) {
  color: var(--v2-text, #f7f5ee);
}

.vc-legal-article {
  min-width: 0;
}

.vc-legal-callout {
  margin: 0 0 54px;
  padding: 22px 24px;
  border-left: 2px solid var(--v2-gold, #dbb65c);
  color: var(--v2-muted-strong, #c8d0dc);
  background: rgba(219, 182, 92, 0.055);
  font-size: 0.86rem;
  line-height: 1.7;
}

.vc-legal-callout strong {
  color: var(--v2-text, #f7f5ee);
}

.vc-legal-section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 20px;
  padding: 40px 0 46px;
  border-top: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
  scroll-margin-top: 112px;
}

.vc-legal-section__index {
  padding-top: 7px;
  color: var(--v2-gold, #dbb65c);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.vc-legal-section h2 {
  margin: 0 0 18px;
  color: var(--v2-text, #f7f5ee);
  font-family: var(--vc-display, "DM Sans", sans-serif);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.vc-legal-section h3 {
  margin: 28px 0 10px;
  color: var(--v2-text, #f7f5ee);
  font-size: 0.94rem;
  line-height: 1.35;
}

.vc-legal-section p,
.vc-legal-section li {
  color: var(--v2-muted-strong, #c8d0dc);
  font-size: 0.84rem;
  line-height: 1.75;
}

.vc-legal-section p {
  margin: 0 0 14px;
}

.vc-legal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.vc-legal-section a,
.vc-legal-closing a {
  color: var(--v2-accent, #59baff);
  text-underline-offset: 3px;
}

.vc-legal-section strong {
  color: var(--v2-text, #f7f5ee);
}

.vc-legal-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
}

.vc-legal-closing p {
  max-width: 54ch;
  margin: 0;
  color: var(--v2-muted, #8b98aa);
  font-size: 0.72rem;
  line-height: 1.6;
}

.vc-public-v2--legal :is(a, button):focus-visible {
  outline: 3px solid rgba(139, 211, 255, 0.72);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .vc-legal-hero__copy,
  .vc-legal-hero__ledger {
    animation: vc-legal-enter 380ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }

  .vc-legal-hero__ledger {
    animation-delay: 55ms;
  }
}

@keyframes vc-legal-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .vc-legal-hero {
    grid-template-columns: 1fr;
  }

  .vc-legal-hero__ledger {
    max-width: 620px;
  }

  .vc-legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .vc-legal-nav {
    position: static;
    min-width: 0;
    overflow: hidden;
  }

  .vc-legal-nav ol {
    display: flex;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    border: 0;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
  }

  .vc-legal-nav ol::-webkit-scrollbar {
    display: none;
  }

  .vc-legal-nav li {
    flex: 0 0 auto;
  }

  .vc-legal-nav a {
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--v2-line, rgba(148, 163, 184, 0.16));
    border-radius: 999px;
  }
}

@media (max-width: 600px) {
  .vc-legal-main {
    width: calc(100% - 28px);
    padding-top: 24px;
  }

  .vc-legal-hero {
    gap: 38px;
    padding-bottom: 52px;
  }

  .vc-legal-hero h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .vc-legal-hero__lead {
    margin-top: 22px;
    font-size: 0.9rem;
  }

  .vc-legal-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vc-legal-hero__ledger > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .vc-legal-layout {
    padding-top: 48px;
  }

  .vc-legal-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 34px 0 40px;
  }

  .vc-legal-section__index {
    padding: 0;
  }

  .vc-legal-callout {
    margin-bottom: 42px;
    padding: 18px;
  }

  .vc-legal-closing {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-public-v2--legal *,
  .vc-public-v2--legal *::before,
  .vc-public-v2--legal *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
